Fix a typo: verify the objects found, not the set.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 19 Nov 2016 04:50:18 +0000 (20:50 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 19 Nov 2016 04:50:18 +0000 (20:50 -0800)
cydo.cpp

index bed61987b6b12ce54b51ea9e5dfcd9810a8578e8..d6e6f7583c79f45acbab1f220371fb6cd89a9560 100644 (file)
--- 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));