summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2016-11-18 20:50:18 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2016-11-18 20:50:18 -0800
commite0c35524d9e2f829122142790bc6d1ab0c0a7afb (patch)
treef1979dcf343bd8950551c769a1c96175c646b6cd
parente67b009f8f8c7b64e3489eedf40b75056fc45a08 (diff)
Fix a typo: verify the objects found, not the set.
-rw-r--r--cydo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cydo.cpp b/cydo.cpp
index bed6198..d6e6f75 100644
--- a/cydo.cpp
+++ b/cydo.cpp
@@ -59,7 +59,7 @@ int main(int argc, char *argv[]) {
}
launch_data_dict_iterate(response, [=, &cydia](const char *name, launch_data_t value) {
- if (launch_data_get_type(response) != LAUNCH_DATA_DICTIONARY)
+ if (launch_data_get_type(value) != LAUNCH_DATA_DICTIONARY)
return;
auto integer(launch_data_dict_lookup(value, LAUNCH_JOBKEY_PID));