about summary refs log tree commit diff stats
path: root/src/config/account.c
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/account.c
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/account.c')
-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;
     }
.mu?h=main&id=b96af395b9af2ff9df94b3e82213171f30827c8d'>b96af395 ^
9458918f ^
ce87c19e ^
1ead3562 ^
08b48a8d ^
c1d92c9d ^
192d59d3 ^

32241605 ^
b96af395 ^
08b48a8d ^
b96af395 ^


192d59d3 ^
b96af395 ^
bafc7192 ^
b96af395 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33