summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shane Garrett2022-03-29 08:40:02 +0200
committerGravatar Nikias Bassen2022-03-29 08:40:02 +0200
commita39c960464e4e1a5952fb617cb557ad9f3f6471d (patch)
treeac95be9c6b8cfd923b6227bfdcf4cdd13e42c3a8
parentfb7440bcb59312a9710f0bb12481d3d4edaab022 (diff)
downloadlibimobiledevice-a39c960464e4e1a5952fb617cb557ad9f3f6471d.tar.gz
libimobiledevice-a39c960464e4e1a5952fb617cb557ad9f3f6471d.tar.bz2
idevicedebug: Terminate QSetLogging command
The debugserver command to set logging, QSetLogging, needs to be terminated with a ';' for it to be processed.
-rw-r--r--tools/idevicedebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicedebug.c b/tools/idevicedebug.c
index b0198a8..a9ef5c6 100644
--- a/tools/idevicedebug.c
+++ b/tools/idevicedebug.c
@@ -370,7 +370,7 @@ int main(int argc, char *argv[])
/* enable logging for the session in debug mode */
if (debug_level) {
log_debug("Setting logging bitmask...");
- debugserver_command_new("QSetLogging:bitmask=LOG_ALL|LOG_RNB_REMOTE|LOG_RNB_PACKETS", 0, NULL, &command);
+ debugserver_command_new("QSetLogging:bitmask=LOG_ALL|LOG_RNB_REMOTE|LOG_RNB_PACKETS;", 0, NULL, &command);
dres = debugserver_client_send_command(debugserver_client, command, &response, NULL);
debugserver_command_free(command);
command = NULL;