diff options
Diffstat (limited to 'tools/iphonebackup.c')
| -rw-r--r-- | tools/iphonebackup.c | 17 | 
1 files changed, 1 insertions, 16 deletions
| diff --git a/tools/iphonebackup.c b/tools/iphonebackup.c index 15a0495..a0b91f3 100644 --- a/tools/iphonebackup.c +++ b/tools/iphonebackup.c @@ -189,20 +189,6 @@ static void mobilebackup_write_status(char *path, int status)  	plist_free(status_plist);  } -static void debug_plist(plist_t a) -{ -	char *buffer = NULL; -	uint32_t length = 0; - -	if (a == NULL) -		return; - -	plist_to_xml(a, &buffer, &length); - -	printf("Printing %i bytes plist:\n%s\n", length, buffer); -	free(buffer); -} -  /**   * signal handler function for cleaning up properly   */ @@ -409,8 +395,7 @@ int main(int argc, char *argv[])  					mobilebackup_send(mobilebackup, message);  				}  			} else { -				printf("Unhandled message received!\n"); -				debug_plist(message); +				printf("ERROR: Unhandled message received!\n");  			}  			plist_free(message);  			message = NULL; | 
