comparison svr-main.c @ 1508:47f36d8565cf

more linting (#55) * dropbear_exit: remove priority parameter confusion with dropbear_log() * const parameter
author François Perrad <francois.perrad@gadz.org>
date Sat, 17 Feb 2018 04:27:37 +0100
parents 1028b0111f89
children 60fceff95858
comparison
equal deleted inserted replaced
1505:55120acb9994 1508:47f36d8565cf
84 commonsetup(); 84 commonsetup();
85 85
86 #if DEBUG_TRACE 86 #if DEBUG_TRACE
87 if (debug_trace) { 87 if (debug_trace) {
88 /* -v output goes to stderr which would get sent over the inetd network socket */ 88 /* -v output goes to stderr which would get sent over the inetd network socket */
89 dropbear_exit(LOG_ERR, "Dropbear inetd mode is incompatible with debug -v"); 89 dropbear_exit("Dropbear inetd mode is incompatible with debug -v");
90 } 90 }
91 #endif 91 #endif
92 92
93 /* In case our inetd was lax in logging source addresses */ 93 /* In case our inetd was lax in logging source addresses */
94 get_socket_address(0, NULL, NULL, &host, &port, 0); 94 get_socket_address(0, NULL, NULL, &host, &port, 0);