summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-03 16:29:05 +0200
committerGravatar Martin Szulecki2014-10-03 16:29:42 +0200
commite7f91350a4ccd717bfb66704e7cb0f65114f2a8a (patch)
treee7fb2fc4ce0bb458416dd3c272d4c726339b8629 /src
parent08cc70bfb6aa77443886b41c141e8d6b143396a7 (diff)
downloadlibimobiledevice-e7f91350a4ccd717bfb66704e7cb0f65114f2a8a.tar.gz
libimobiledevice-e7f91350a4ccd717bfb66704e7cb0f65114f2a8a.tar.bz2
debugserver: Fix compiler warning about missing braces
Diffstat (limited to 'src')
-rw-r--r--src/debugserver.c6
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)) {