summaryrefslogtreecommitdiffhomepage
path: root/cli-main.c
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2017-08-19 22:39:53 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2017-08-19 22:39:53 +0200
commit598056d1686127285c389cacbdd20707c350d05a (patch)
treed821ca44d56c707bd3e6fe35f5cb58ff6eb1ccda /cli-main.c
parent89e64c631ec8dee41ec4de888548d36887b6ec98 (diff)
Pointer parameter could be declared as pointing to const (callback)
Diffstat (limited to 'cli-main.c')
-rw-r--r--cli-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-main.c b/cli-main.c
index 121da22..57a07cc 100644
--- a/cli-main.c
+++ b/cli-main.c
@@ -142,7 +142,7 @@ static void cli_dropbear_log(int priority,
fflush(stderr);
}
-static void exec_proxy_cmd(void *user_data_cmd) {
+static void exec_proxy_cmd(const void *user_data_cmd) {
const char *cmd = user_data_cmd;
char *usershell;