1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Merge pull request #1162 from paulfariello/hotfix/command-exec

Fix command form submit
This commit is contained in:
Michael Vetter 2019-07-30 11:04:01 +02:00 committed by GitHub
commit 6eda6bd14a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1235,7 +1235,7 @@ _command_exec_response_handler(xmpp_stanza_t *const stanza, void *const userdata
} else {
data->sessionid = strdup(sessionid);
}
data->command = command;
data->command = strdup(command);
ProfConfWin *confwin = (ProfConfWin*)wins_new_config(from, form, iq_submit_command_config, iq_cancel_command_config, data);
confwin_handle_configuration(confwin, form);
} else if (g_strcmp0(status, "canceled") == 0) {