summaryrefslogtreecommitdiff
path: root/cli-tcpfwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-03-15 21:41:06 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-03-15 21:41:06 +0800
commita9e379692a705a289b00b47b5d958122a29b15b9 (patch)
tree4fa33e1b8d00ce065bfced62090e90bd6f552cc4 /cli-tcpfwd.c
parentd759e0c58746513d3290a2b3066f39041d1824d0 (diff)
parentaafc0682a6efffbc805924339ff0236c56ba7b4d (diff)
downloaddropbear-a9e379692a705a289b00b47b5d958122a29b15b9.tar.gz
Merge branch '20151231_indent' of https://github.com/fperrad/dropbear into fperrad-20151231_indent
Diffstat (limited to 'cli-tcpfwd.c')
-rw-r--r--cli-tcpfwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli-tcpfwd.c b/cli-tcpfwd.c
index b32d9e0..c3a1350 100644
--- a/cli-tcpfwd.c
+++ b/cli-tcpfwd.c
@@ -231,7 +231,7 @@ void setup_remotetcp() {
static int newtcpforwarded(struct Channel * channel) {
- char *origaddr = NULL;
+ char *origaddr = NULL;
unsigned int origport;
m_list_elem * iter = NULL;
struct TCPFwdEntry *fwd;
@@ -267,7 +267,7 @@ static int newtcpforwarded(struct Channel * channel) {
if (iter == NULL) {
/* We didn't request forwarding on that port */
- cleantext(origaddr);
+ cleantext(origaddr);
dropbear_log(LOG_INFO, "Server sent unrequested forward from \"%s:%d\"",
origaddr, origport);
goto out;