comparison svr-authpubkeyoptions.c @ 1510:eb4c7052f51d coverity

merge coverity up to date
author Matt Johnston <matt@ucc.asn.au>
date Sat, 17 Feb 2018 11:29:17 +0800
parents 2d450c1056e3
children 252b406d0e9a
comparison
equal deleted inserted replaced
1509:3520d7c25363 1510:eb4c7052f51d
98 chansess->cmd = NULL; 98 chansess->cmd = NULL;
99 } else { 99 } else {
100 chansess->original_command = m_strdup(""); 100 chansess->original_command = m_strdup("");
101 } 101 }
102 chansess->cmd = m_strdup(ses.authstate.pubkey_options->forced_command); 102 chansess->cmd = m_strdup(ses.authstate.pubkey_options->forced_command);
103 #ifdef LOG_COMMANDS 103 #if LOG_COMMANDS
104 dropbear_log(LOG_INFO, "Command forced to '%s'", chansess->original_command); 104 dropbear_log(LOG_INFO, "Command forced to '%s'", chansess->original_command);
105 #endif 105 #endif
106 } 106 }
107 } 107 }
108 108