summaryrefslogtreecommitdiffstats
path: root/src/mobilesync.c
diff options
context:
space:
mode:
authorGravatar Matt Colyer2010-01-27 22:07:09 -0800
committerGravatar Matt Colyer2010-01-27 22:07:09 -0800
commit45b88ae3956de089fdc35605910f1359a1d3961c (patch)
tree34cbe9da755305b29420c9c22c2b032080cd0991 /src/mobilesync.c
parent9ef3ed4afdbc7325c999ff79b033f259af898986 (diff)
parent45c5708ecfea326c203d4728e52ecb0ae206a528 (diff)
downloadlibimobiledevice-45b88ae3956de089fdc35605910f1359a1d3961c.tar.gz
libimobiledevice-45b88ae3956de089fdc35605910f1359a1d3961c.tar.bz2
Merge commit 'martin-s/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));
}