summaryrefslogtreecommitdiffstats
path: root/source/dialogs/ssh.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-06-13 10:15:21 +0200
committerDave Davenport <qball@gmpclient.org>2017-06-13 10:16:40 +0200
commita3c1ff7d94031e4f1a4b97452de90b8dce1ff8b8 (patch)
treeea9ed8129c65a9f1d68531f74b4784db9a5b4f75 /source/dialogs/ssh.c
parent306198074157bbb3f66ab7b60d348c239aee6b10 (diff)
[helper] Fix type issue with variadic function.
* https://www.securecoding.cert.org/confluence/display/c/DCL11-C.+Understand+the+type+issues+associated+with+variadic+functions
Diffstat (limited to 'source/dialogs/ssh.c')
-rw-r--r--source/dialogs/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/ssh.c b/source/dialogs/ssh.c
index dc2151db..5ce66289 100644
--- a/source/dialogs/ssh.c
+++ b/source/dialogs/ssh.c
@@ -79,7 +79,7 @@ static int execshssh ( const char *host )
char **args = NULL;
int argsv = 0;
- helper_parse_setup ( config.ssh_command, &args, &argsv, "{host}", host, NULL );
+ helper_parse_setup ( config.ssh_command, &args, &argsv, "{host}", host, (char *) 0 );
gsize l = strlen ( "Connecting to '' via rofi" ) + strlen ( host ) + 1;
gchar *desc = g_newa ( gchar, l );