diff options
author | Martin Szulecki | 2014-10-03 16:29:05 +0200 |
---|---|---|
committer | Martin Szulecki | 2014-10-03 16:29:42 +0200 |
commit | e7f91350a4ccd717bfb66704e7cb0f65114f2a8a (patch) | |
tree | e7fb2fc4ce0bb458416dd3c272d4c726339b8629 | |
parent | 08cc70bfb6aa77443886b41c141e8d6b143396a7 (diff) | |
download | libimobiledevice-e7f91350a4ccd717bfb66704e7cb0f65114f2a8a.tar.gz libimobiledevice-e7f91350a4ccd717bfb66704e7cb0f65114f2a8a.tar.bz2 |
debugserver: Fix compiler warning about missing braces
-rw-r--r-- | src/debugserver.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/debugserver.c b/src/debugserver.c index b5ba9e1..ca52162 100644 --- a/src/debugserver.c +++ b/src/debugserver.c @@ -456,8 +456,9 @@ LIBIMOBILEDEVICE_API debugserver_error_t debugserver_client_receive_response(deb } } - if (response) + if (response) { debug_info("response: %s", *response); + } if (buffer) free(buffer); @@ -515,8 +516,9 @@ LIBIMOBILEDEVICE_API debugserver_error_t debugserver_client_send_command(debugse goto cleanup; } - if (response) + if (response) { debug_info("received response: %s", *response); + } /* disable sending ack on the client */ if (!strncmp(command->name, "QStartNoAckMode", 16)) { |