summaryrefslogtreecommitdiffhomepage
path: root/svr-tcpfwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2006-01-15 06:39:48 +0000
committerMatt Johnston <matt@ucc.asn.au>2006-01-15 06:39:48 +0000
commitd8e61e51ded9c7fb784d33f9939b9c40a967bc0f (patch)
treea8ef30a70b67ce5adbd064eb8039cee20ab49271 /svr-tcpfwd.c
parentbf045a056471c685ebe09e2ab35dcc3430f737bd (diff)
* svr-tcpfwd.c: should be MAX_NAME_LEN not MAXNAMLEN
--HG-- extra : convert_revision : f3f6f865b6d723add601feabf155a1fcc084b0aa
Diffstat (limited to 'svr-tcpfwd.c')
-rw-r--r--svr-tcpfwd.c2
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;
}