comparison cli-tcpfwd.c @ 1215:d058e15ea213

A few minor style fixes
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Dec 2015 22:09:55 +0800
parents 2907c658fa76
children 888e3d17e962 2bb4c662d1c2
comparison
equal deleted inserted replaced
1214:61d3f56808a4 1215:d058e15ea213
65 void fwd_failed(const char* format, ...) 65 void fwd_failed(const char* format, ...)
66 { 66 {
67 va_list param; 67 va_list param;
68 va_start(param, format); 68 va_start(param, format);
69 69
70 if (cli_opts.exit_on_fwd_failure) 70 if (cli_opts.exit_on_fwd_failure) {
71 _dropbear_exit(EXIT_FAILURE, format, param); 71 _dropbear_exit(EXIT_FAILURE, format, param);
72 else 72 } else {
73 _dropbear_log(LOG_WARNING, format, param); 73 _dropbear_log(LOG_WARNING, format, param);
74 }
74 75
75 va_end(param); 76 va_end(param);
76 } 77 }
77 #endif 78 #endif
78 79