From a2d419759017270e52dec18782140706dcda5e39 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 12 Jul 2011 08:53:30 +0200 Subject: s3:lib: s/SMBkeepalive/NBSSkeepalive metze --- source3/lib/util_sock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib/util_sock.c') diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index da84d76aa6..ebdd2c78f3 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -300,7 +300,7 @@ bool send_keepalive(int client) { unsigned char buf[4]; - buf[0] = SMBkeepalive; + buf[0] = NBSSkeepalive; buf[1] = buf[2] = buf[3] = 0; return(write_data(client,(char *)buf,4) == 4); @@ -330,7 +330,7 @@ NTSTATUS read_smb_length_return_keepalive(int fd, char *inbuf, *len = smb_len(inbuf); msg_type = CVAL(inbuf,0); - if (msg_type == SMBkeepalive) { + if (msg_type == NBSSkeepalive) { DEBUG(5,("Got keepalive packet\n")); } -- cgit