comparison cli-runopts.c @ 1237:888e3d17e962

Fix print format specifier
author Chocobo1 <Chocobo1@users.noreply.github.com>
date Tue, 05 Jan 2016 12:32:33 +0800
parents de2e39e94c68
children 968be6f7cff6
comparison
equal deleted inserted replaced
1236:a0062a354a80 1237:888e3d17e962
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)