Mercurial > dropbear
comparison cli-tcpfwd.c @ 1237:888e3d17e962
Fix print format specifier
author | Chocobo1 <Chocobo1@users.noreply.github.com> |
---|---|
date | Tue, 05 Jan 2016 12:32:33 +0800 |
parents | d058e15ea213 |
children | 52a456a3add0 |
comparison
equal
deleted
inserted
replaced
1236:a0062a354a80 | 1237:888e3d17e962 |
---|---|
271 dropbear_log(LOG_INFO, "Server sent unrequested forward from \"%s:%d\"", | 271 dropbear_log(LOG_INFO, "Server sent unrequested forward from \"%s:%d\"", |
272 origaddr, origport); | 272 origaddr, origport); |
273 goto out; | 273 goto out; |
274 } | 274 } |
275 | 275 |
276 snprintf(portstring, sizeof(portstring), "%d", fwd->connectport); | 276 snprintf(portstring, sizeof(portstring), "%u", fwd->connectport); |
277 channel->conn_pending = connect_remote(fwd->connectaddr, portstring, channel_connect_done, channel); | 277 channel->conn_pending = connect_remote(fwd->connectaddr, portstring, channel_connect_done, channel); |
278 | 278 |
279 channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE; | 279 channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE; |
280 | 280 |
281 err = SSH_OPEN_IN_PROGRESS; | 281 err = SSH_OPEN_IN_PROGRESS; |