summaryrefslogtreecommitdiffstats
path: root/src/MobileSync.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-07-24 22:21:53 +0200
committerGravatar Martin Szulecki2009-07-24 22:21:53 +0200
commit83529098fbf4b39b2643a7c0bf39828247d11f9a (patch)
tree942597468fd98de67dc161778c951509808db9f4 /src/MobileSync.c
parent15e2c165ac63e225e3fbfc531da5c1f19fede569 (diff)
downloadlibimobiledevice-83529098fbf4b39b2643a7c0bf39828247d11f9a.tar.gz
libimobiledevice-83529098fbf4b39b2643a7c0bf39828247d11f9a.tar.bz2
Improve debug output messages by using __func__ everywhere and adjust wording
Diffstat (limited to 'src/MobileSync.c')
-rw-r--r--src/MobileSync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MobileSync.c b/src/MobileSync.c
index b9a1cb0..f544400 100644
--- a/src/MobileSync.c
+++ b/src/MobileSync.c
@@ -161,7 +161,7 @@ iphone_error_t mobilesync_recv(mobilesync_client_t client, plist_t * plist)
char *XMLContent = NULL;
uint32_t length = 0;
plist_to_xml(*plist, &XMLContent, &length);
- log_dbg_msg(DBGMASK_MOBILESYNC, "Recv msg :\nsize : %i\nbuffer :\n%s\n", length, XMLContent);
+ log_dbg_msg(DBGMASK_MOBILESYNC, "%s: plist size: %i\nbuffer :\n%s\n", __func__, length, XMLContent);
free(XMLContent);
return ret;
@@ -185,7 +185,7 @@ iphone_error_t mobilesync_send(mobilesync_client_t client, plist_t plist)
char *XMLContent = NULL;
uint32_t length = 0;
plist_to_xml(plist, &XMLContent, &length);
- log_dbg_msg(DBGMASK_MOBILESYNC, "Send msg :\nsize : %i\nbuffer :\n%s\n", length, XMLContent);
+ log_dbg_msg(DBGMASK_MOBILESYNC, "%s: plist size: %i\nbuffer :\n%s\n", __func__, length, XMLContent);
free(XMLContent);
char *content = NULL;