diff options
author | Martin Szulecki | 2009-07-24 22:21:53 +0200 |
---|---|---|
committer | Martin Szulecki | 2009-07-24 22:21:53 +0200 |
commit | 83529098fbf4b39b2643a7c0bf39828247d11f9a (patch) | |
tree | 942597468fd98de67dc161778c951509808db9f4 /src/MobileSync.c | |
parent | 15e2c165ac63e225e3fbfc531da5c1f19fede569 (diff) | |
download | libimobiledevice-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.c | 4 |
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; |