changeset 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 e37b160c414c
children 475a818dd6e7
files svr-tcpfwd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
 	}