diff options
author | Matt Johnston <matt@ucc.asn.au> | 2009-06-08 14:53:29 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2009-06-08 14:53:29 +0000 |
commit | 4be3826dd5426923b12fd0326783973e1af38228 (patch) | |
tree | 3d71edf24b4dfdd7f7e40a6d8ca48fc8a3e17c75 /cli-main.c | |
parent | a21cf67a6c5bfed10175c9cdeee312d697aa3343 (diff) |
Wrap proxycmd function in ENABLE_CLI_PROXYCMD #ifdef
(commit the right file this time)
--HG--
extra : convert_revision : d86e846566d01b739b51fa2ecdb8f62006e38dbd
Diffstat (limited to 'cli-main.c')
-rw-r--r-- | cli-main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -32,7 +32,9 @@ static void cli_dropbear_exit(int exitcode, const char* format, va_list param); static void cli_dropbear_log(int priority, const char* format, va_list param); +#ifdef ENABLE_CLI_PROXYCMD static void cli_proxy_cmd(int *sock_in, int *sock_out); +#endif #if defined(DBMULTI_dbclient) || !defined(DROPBEAR_MULTI) #if defined(DBMULTI_dbclient) && defined(DROPBEAR_MULTI) @@ -132,6 +134,7 @@ static void exec_proxy_cmd(void *user_data_cmd) { dropbear_exit("Failed to run '%s'\n", cmd); } +#ifdef ENABLE_CLI_PROXYCMD static void cli_proxy_cmd(int *sock_in, int *sock_out) { int ret; @@ -144,3 +147,4 @@ static void cli_proxy_cmd(int *sock_in, int *sock_out) { *sock_in = *sock_out = -1; } } +#endif // ENABLE_CLI_PROXYCMD |