comparison cli-runopts.c @ 1247:428d83f2e5db

merge github master
author Matt Johnston <matt@ucc.asn.au>
date Thu, 10 Mar 2016 21:37:35 +0800
parents 888e3d17e962
children 968be6f7cff6
comparison
equal deleted inserted replaced
1235:11f645c3715b 1247:428d83f2e5db
536 total += written; 536 total += written;
537 } 537 }
538 538
539 if (opts.recv_window != DEFAULT_RECV_WINDOW) 539 if (opts.recv_window != DEFAULT_RECV_WINDOW)
540 { 540 {
541 int written = snprintf(ret+total, len-total, "-W %d ", opts.recv_window); 541 int written = snprintf(ret+total, len-total, "-W %u ", opts.recv_window);
542 total += written; 542 total += written;
543 } 543 }
544 544
545 #ifdef ENABLE_CLI_PUBKEY_AUTH 545 #ifdef ENABLE_CLI_PUBKEY_AUTH
546 for (iter = cli_opts.privkeys->first; iter; iter = iter->next) 546 for (iter = cli_opts.privkeys->first; iter; iter = iter->next)