diff options
author | Jonathan Beck | 2009-01-12 20:07:06 +0100 |
---|---|---|
committer | Jonathan Beck | 2009-01-12 20:07:06 +0100 |
commit | 564aebf941f2f0c5fb57d2f86091b37d6331b9d9 (patch) | |
tree | a8d969fd1fb6ff2bf35696837978f96c29a9e5fa /dev | |
parent | f3c08cfad0833d55a69ca3d54d9920a3cb558328 (diff) | |
download | libimobiledevice-564aebf941f2f0c5fb57d2f86091b37d6331b9d9.tar.gz libimobiledevice-564aebf941f2f0c5fb57d2f86091b37d6331b9d9.tar.bz2 |
Update lockdownd transfer function to take abstract plist as argument.
Simplify code accordingly.
Use new libplist API to make code cleaner.
Diffstat (limited to 'dev')
-rw-r--r-- | dev/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -28,6 +28,7 @@ #include <libxml/tree.h> #include <libiphone/libiphone.h> +#include "../src/utils.h" int main(int argc, char *argv[]) @@ -38,8 +39,10 @@ int main(int argc, char *argv[]) if (argc > 1 && !strcasecmp(argv[1], "--debug")) { iphone_set_debug(1); + iphone_set_debug_mask(DBGMASK_ALL); } else { iphone_set_debug(0); + iphone_set_debug_mask(DBGMASK_NONE); } if (IPHONE_E_SUCCESS != iphone_get_device(&phone)) { |