diff options
author | Matt Johnston <matt@ucc.asn.au> | 2006-01-15 06:39:48 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2006-01-15 06:39:48 +0000 |
commit | d8e61e51ded9c7fb784d33f9939b9c40a967bc0f (patch) | |
tree | a8ef30a70b67ce5adbd064eb8039cee20ab49271 | |
parent | bf045a056471c685ebe09e2ab35dcc3430f737bd (diff) |
* svr-tcpfwd.c: should be MAX_NAME_LEN not MAXNAMLEN
--HG--
extra : convert_revision : f3f6f865b6d723add601feabf155a1fcc084b0aa
-rw-r--r-- | svr-tcpfwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-tcpfwd.c b/svr-tcpfwd.c index 53a115e..6391c4c 100644 --- a/svr-tcpfwd.c +++ b/svr-tcpfwd.c @@ -80,7 +80,7 @@ void recv_msg_global_request_remotetcp() { 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; } |