summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-02-10 20:05:41 +0100
committerGravatar Nikias Bassen2014-02-10 20:05:41 +0100
commit69cd18e15841aa915756dddb231323d65490b55a (patch)
tree1e6be9fa4fb5b9ff1c0ca1ec24012bb6cac15252
parenta35dadd5e325f508c27198479013dba9f186bf7a (diff)
downloadlibimobiledevice-69cd18e15841aa915756dddb231323d65490b55a.tar.gz
libimobiledevice-69cd18e15841aa915756dddb231323d65490b55a.tar.bz2
ideviceimagemounter: change output 'Copying' to more correct 'Uploading'
-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) {