git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86fb61a
)
s3:lib: s/SMBkeepalive/NBSSkeepalive
author
Stefan Metzmacher
<metze@samba.org>
Tue, 12 Jul 2011 06:53:30 +0000
(08:53 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 12 Jul 2011 07:44:04 +0000
(09:44 +0200)
metze
source3/lib/util_sock.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_sock.c
b/source3/lib/util_sock.c
index da84d76aa6a17108879b0c16abaf6fd9305e2e71..ebdd2c78f3de696e0a794ec8f1aa320b2593e914 100644
(file)
--- 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] =
SMB
keepalive;
+ buf[0] =
NBSS
keepalive;
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 ==
SMB
keepalive) {
+ if (msg_type ==
NBSS
keepalive) {
DEBUG(5,("Got keepalive packet\n"));
}