* svr-tcpfwd.c: should be MAX_NAME_LEN not MAXNAMLEN

--HG--
extra : convert_revision : f3f6f865b6d723add601feabf155a1fcc084b0aa
This commit is contained in:
Matt Johnston 2006-01-15 06:39:48 +00:00
parent bf045a0564
commit d8e61e51de

View File

@ -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;
}