summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-12 08:53:30 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-12 09:44:04 +0200
commita2d419759017270e52dec18782140706dcda5e39 (patch)
treebc44cd5546fcdff0feeded90f416251a78436cdb /source3/lib
parent86fb61a4aaefc088fa70931bf04304ba6b882161 (diff)
downloadsamba-a2d419759017270e52dec18782140706dcda5e39.tar.gz
samba-a2d419759017270e52dec18782140706dcda5e39.tar.bz2
samba-a2d419759017270e52dec18782140706dcda5e39.zip
s3:lib: s/SMBkeepalive/NBSSkeepalive
metze
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sock.c4
1 files changed, 2 insertions, 2 deletions
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"));
}