about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-06-23 14:42:09 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-06-23 14:42:09 +0200
commitb79d7e8752a871f03b1ebeca7298083ed47fd4fa (patch)
treef29ab1e21b351c7e57364df1204a50fb1981734f /src/config
parent9eb2b79f535ca9bbbd62bf00b3439f0d4a2987f5 (diff)
downloadprofani-tty-b79d7e8752a871f03b1ebeca7298083ed47fd4fa.tar.gz
Fix NULL terminated list
Regards https://github.com/profanity-im/profanity/issues/1367
Diffstat (limited to 'src/config')
-rw-r--r--src/config/account.c2
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;
     }