Mercurial > dropbear
diff cli-tcpfwd.c @ 1239:00d7fc7b112b
Merge pull request #21 from Chocobo1/fix
Fix warnings
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 20 Jan 2016 21:24:36 +0800 |
parents | 888e3d17e962 |
children | 52a456a3add0 |
line wrap: on
line diff
--- a/cli-tcpfwd.c Tue Jan 19 00:34:37 2016 +0800 +++ b/cli-tcpfwd.c Wed Jan 20 21:24:36 2016 +0800 @@ -273,7 +273,7 @@ goto out; } - snprintf(portstring, sizeof(portstring), "%d", fwd->connectport); + snprintf(portstring, sizeof(portstring), "%u", fwd->connectport); channel->conn_pending = connect_remote(fwd->connectaddr, portstring, channel_connect_done, channel); channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE;