comparison svr-main.c @ 970:0bb16232e7c4

Make keepalive handling more robust, this should now match what OpenSSH does
author Matt Johnston <matt@ucc.asn.au>
date Tue, 19 Aug 2014 23:08:56 +0800
parents 860e3522f8fc
children a48561559584
comparison
equal deleted inserted replaced
969:939944f0fca9 970:0bb16232e7c4
407 unsigned int i; 407 unsigned int i;
408 char* errstring = NULL; 408 char* errstring = NULL;
409 size_t sockpos = 0; 409 size_t sockpos = 0;
410 int nsock; 410 int nsock;
411 411
412 TRACE(("listensockets: %d to try\n", svr_opts.portcount)) 412 TRACE(("listensockets: %d to try", svr_opts.portcount))
413 413
414 for (i = 0; i < svr_opts.portcount; i++) { 414 for (i = 0; i < svr_opts.portcount; i++) {
415 415
416 TRACE(("listening on '%s:%s'", svr_opts.addresses[i], svr_opts.ports[i])) 416 TRACE(("listening on '%s:%s'", svr_opts.addresses[i], svr_opts.ports[i]))
417 417