summaryrefslogtreecommitdiffstats
path: root/src/mobilesync.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-26 02:18:36 +0100
committerGravatar Martin Szulecki2010-01-26 02:18:36 +0100
commit135a69205083b8b499147eb8f34baf586e76bb49 (patch)
treee9fa13ca2662961af57095d38fe4231faba09fa4 /src/mobilesync.c
parent57c883b7fe84d513c836270f681a9bf5a907de3e (diff)
parentb369efa426307bb6e9828c755ccc50c4f213c2e8 (diff)
downloadlibimobiledevice-135a69205083b8b499147eb8f34baf586e76bb49.tar.gz
libimobiledevice-135a69205083b8b499147eb8f34baf586e76bb49.tar.bz2
Merge branch 'mobilebackup' into martin
Diffstat (limited to 'src/mobilesync.c')
-rw-r--r--src/mobilesync.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mobilesync.c b/src/mobilesync.c
index 3492673..15614b5 100644
--- a/src/mobilesync.c
+++ b/src/mobilesync.c
@@ -109,16 +109,6 @@ mobilesync_error_t mobilesync_receive(mobilesync_client_t client, plist_t * plis
if (!client)
return MOBILESYNC_E_INVALID_ARG;
mobilesync_error_t ret = mobilesync_error(device_link_service_receive(client->parent, plist));
-#ifndef STRIP_DEBUG_CODE
- if (ret != MOBILESYNC_E_SUCCESS) {
- return ret;
- }
- char *XMLContent = NULL;
- uint32_t length = 0;
- plist_to_xml(*plist, &XMLContent, &length);
- debug_info("plist size: %i\nbuffer :\n%s", length, XMLContent);
- free(XMLContent);
-#endif
return ret;
}
@@ -136,13 +126,5 @@ mobilesync_error_t mobilesync_send(mobilesync_client_t client, plist_t plist)
{
if (!client || !plist)
return MOBILESYNC_E_INVALID_ARG;
-
-#ifndef STRIP_DEBUG_CODE
- char *XMLContent = NULL;
- uint32_t length = 0;
- plist_to_xml(plist, &XMLContent, &length);
- debug_info("plist size: %i\nbuffer :\n%s", length, XMLContent);
- free(XMLContent);
-#endif
return mobilesync_error(device_link_service_send(client->parent, plist));
}