Commit d8e61e51 authored by Matt Johnston's avatar Matt Johnston
Browse files

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

--HG--
extra : convert_revision : f3f6f865b6d723add601feabf155a1fcc084b0aa
parent bf045a05
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment