From 7cd889f566ebe352721943e53a055db5b817f12f Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sat, 20 Oct 2001 23:34:40 +0000 Subject: Converted a bunch of 0x85 constants to SMBkeepalive. (This used to be commit b16a15a13ed7d267c6366abaeeb3ccafa5776f5e) --- source3/smbd/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/process.c') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index a0bfdbb2a2..cf01cd2cf5 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -254,7 +254,7 @@ BOOL receive_next_smb(char *inbuf, int bufsize, int timeout) do { ret = receive_message_or_smb(inbuf,bufsize,timeout); - got_keepalive = (ret && (CVAL(inbuf,0) == 0x85)); + got_keepalive = (ret && (CVAL(inbuf,0) == SMBkeepalive)); } while (ret && got_keepalive); return ret; @@ -867,7 +867,7 @@ void process_smb(char *inbuf, char *outbuf) if (msg_type == 0) show_msg(inbuf); - else if(msg_type == 0x85) + else if(msg_type == SMBkeepalive) return; /* Keepalive packet. */ nread = construct_reply(inbuf,outbuf,nread,max_send); -- cgit