1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Fix NULL terminated list

Regards https://github.com/profanity-im/profanity/issues/1367
This commit is contained in:
Michael Vetter 2020-06-23 14:42:09 +02:00
parent 9eb2b79f53
commit b79d7e8752

View File

@ -202,7 +202,7 @@ account_eval_password(ProfAccount *account)
gchar **output = NULL;
gchar *argv[] = {"sh", "-c", account->eval_password};
gchar *argv[] = {"sh", "-c", account->eval_password, NULL};
if (!call_external(argv, &output, NULL)) {
return FALSE;
}