about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2018-09-10 11:30:46 +0200
committerPaul Fariello <paul@fariello.eu>2018-09-10 11:30:46 +0200
commitb7556b4e414c5fd1652b1401e38298e7ba71313d (patch)
tree80926aa2a9d7b3d6114cec02612fdc55feeebdb6 /src
parentf0f973fcb46f3ab332e7ac5623d720067075f908 (diff)
downloadprofani-tty-b7556b4e414c5fd1652b1401e38298e7ba71313d.tar.gz
Add missing command name for completion log
Diffstat (limited to 'src')
-rw-r--r--src/xmpp/iq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c
index 9204f196..d155a574 100644
--- a/src/xmpp/iq.c
+++ b/src/xmpp/iq.c
@@ -737,7 +737,7 @@ iq_submit_command_config(ProfConfWin *confwin)
     xmpp_stanza_t *iq = stanza_create_command_config_submit_iq(ctx, confwin->roomjid, data->command, data->sessionid, confwin->form);
 
     const char *id = xmpp_stanza_get_id(iq);
-    iq_id_handler_add(id,  _command_exec_response_handler, NULL, NULL);
+    iq_id_handler_add(id,  _command_exec_response_handler, free, strdup(data->command));
 
     iq_send_stanza(iq);
     xmpp_stanza_release(iq);