diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-06-23 14:42:09 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-06-23 14:42:09 +0200 |
commit | b79d7e8752a871f03b1ebeca7298083ed47fd4fa (patch) | |
tree | f29ab1e21b351c7e57364df1204a50fb1981734f /src/config/account.c | |
parent | 9eb2b79f535ca9bbbd62bf00b3439f0d4a2987f5 (diff) | |
download | profani-tty-b79d7e8752a871f03b1ebeca7298083ed47fd4fa.tar.gz |
Fix NULL terminated list
Regards https://github.com/profanity-im/profanity/issues/1367
Diffstat (limited to 'src/config/account.c')
-rw-r--r-- | src/config/account.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/account.c b/src/config/account.c index 6fc80eb7..127831a8 100644 --- a/src/config/account.c +++ b/src/config/account.c @@ -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; } |