summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-25 22:17:28 +0100
committerGravatar Martin Szulecki2010-01-25 22:17:28 +0100
commit16a17385369696c69cdcbb40042515c6c0b211d5 (patch)
tree54b6ecf5e4e2ce6db9a2e15ad9c00fcd9d577d5a
parentcc1d6b734369961e686c8c04f9cce2b820fdb543 (diff)
downloadlibimobiledevice-16a17385369696c69cdcbb40042515c6c0b211d5.tar.gz
libimobiledevice-16a17385369696c69cdcbb40042515c6c0b211d5.tar.bz2
Remove obsolete DLSendFile loop check and make it while(1)
The checked node was already changed within the loop.
-rw-r--r--tools/iphonebackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/iphonebackup.c b/tools/iphonebackup.c
index a0b91f3..c24c161 100644
--- a/tools/iphonebackup.c
+++ b/tools/iphonebackup.c
@@ -545,7 +545,7 @@ int main(int argc, char *argv[])
plist_free(message);
message = NULL;
- } while (!plist_strcmp(node, "DLSendFile"));
+ } while (1);
printf("Received %d files from device.\n", file_index);