Fix NULL terminated list
Regards https://github.com/profanity-im/profanity/issues/1367
This commit is contained in:
@@ -202,7 +202,7 @@ account_eval_password(ProfAccount *account)
|
|||||||
|
|
||||||
gchar **output = NULL;
|
gchar **output = NULL;
|
||||||
|
|
||||||
gchar *argv[] = {"sh", "-c", account->eval_password};
|
gchar *argv[] = {"sh", "-c", account->eval_password, NULL};
|
||||||
if (!call_external(argv, &output, NULL)) {
|
if (!call_external(argv, &output, NULL)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user