diff options
| author | 2009-07-24 22:21:53 +0200 | |
|---|---|---|
| committer | 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) | |||
| 161 | char *XMLContent = NULL; | 161 | char *XMLContent = NULL; |
| 162 | uint32_t length = 0; | 162 | uint32_t length = 0; |
| 163 | plist_to_xml(*plist, &XMLContent, &length); | 163 | plist_to_xml(*plist, &XMLContent, &length); |
| 164 | log_dbg_msg(DBGMASK_MOBILESYNC, "Recv msg :\nsize : %i\nbuffer :\n%s\n", length, XMLContent); | 164 | log_dbg_msg(DBGMASK_MOBILESYNC, "%s: plist size: %i\nbuffer :\n%s\n", __func__, length, XMLContent); |
| 165 | free(XMLContent); | 165 | free(XMLContent); |
| 166 | 166 | ||
| 167 | return ret; | 167 | return ret; |
| @@ -185,7 +185,7 @@ iphone_error_t mobilesync_send(mobilesync_client_t client, plist_t plist) | |||
| 185 | char *XMLContent = NULL; | 185 | char *XMLContent = NULL; |
| 186 | uint32_t length = 0; | 186 | uint32_t length = 0; |
| 187 | plist_to_xml(plist, &XMLContent, &length); | 187 | plist_to_xml(plist, &XMLContent, &length); |
| 188 | log_dbg_msg(DBGMASK_MOBILESYNC, "Send msg :\nsize : %i\nbuffer :\n%s\n", length, XMLContent); | 188 | log_dbg_msg(DBGMASK_MOBILESYNC, "%s: plist size: %i\nbuffer :\n%s\n", __func__, length, XMLContent); |
| 189 | free(XMLContent); | 189 | free(XMLContent); |
| 190 | 190 | ||
| 191 | char *content = NULL; | 191 | char *content = NULL; |
