Mercurial > dropbear
diff svr-tcpfwd.c @ 267:7ce577234a10
* svr-tcpfwd.c: should be MAX_NAME_LEN not MAXNAMLEN
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 15 Jan 2006 06:39:48 +0000 |
parents | c049490e43fe |
children | 454a34b2dfd1 75940fef22dd |
line wrap: on
line diff
--- a/svr-tcpfwd.c Fri Dec 09 06:10:27 2005 +0000 +++ b/svr-tcpfwd.c Sun Jan 15 06:39:48 2006 +0000 @@ -80,7 +80,7 @@ reqname = buf_getstring(ses.payload, &namelen); wantreply = buf_getbool(ses.payload); - if (namelen > MAXNAMLEN) { + if (namelen > MAX_NAME_LEN) { TRACE(("name len is wrong: %d", namelen)) goto out; }