summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/ideviceimagemounter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ideviceimagemounter.c b/tools/ideviceimagemounter.c
index d47507a..3cd1e55 100644
--- a/tools/ideviceimagemounter.c
+++ b/tools/ideviceimagemounter.c
@@ -425,15 +425,16 @@ int main(int argc, char **argv)
425 goto leave; 425 goto leave;
426 } 426 }
427 427
428 printf("Copying '%s' --> '%s'\n", image_path, targetname);
429 428
430 if (!imagetype) { 429 if (!imagetype) {
431 imagetype = strdup("Developer"); 430 imagetype = strdup("Developer");
432 } 431 }
433 432
434 if (ge70) { 433 if (ge70) {
434 printf("Uploading %s\n", image_path);
435 err = mobile_image_mounter_upload_image(mim, imagetype, image_size, mim_upload_cb, f); 435 err = mobile_image_mounter_upload_image(mim, imagetype, image_size, mim_upload_cb, f);
436 } else { 436 } else {
437 printf("Uploading %s --> afc:///%s\n", image_path, targetname);
437 char **strs = NULL; 438 char **strs = NULL;
438 if (afc_get_file_info(afc, PKG_PATH, &strs) != AFC_E_SUCCESS) { 439 if (afc_get_file_info(afc, PKG_PATH, &strs) != AFC_E_SUCCESS) {
439 if (afc_make_directory(afc, PKG_PATH) != AFC_E_SUCCESS) { 440 if (afc_make_directory(afc, PKG_PATH) != AFC_E_SUCCESS) {