diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-13 10:15:21 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-13 10:16:40 +0200 |
commit | a3c1ff7d94031e4f1a4b97452de90b8dce1ff8b8 (patch) | |
tree | ea9ed8129c65a9f1d68531f74b4784db9a5b4f75 /source/dialogs/ssh.c | |
parent | 306198074157bbb3f66ab7b60d348c239aee6b10 (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.c | 2 |
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 ); |