summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-10-21 22:51:21 +0000
committerJeremy Allison <jra@samba.org>1997-10-21 22:51:21 +0000
commit325738bd277648135815c99165fc8b72d1b1859c (patch)
tree0b00ad4a3bfbb72c97f48c8934c0df0d46cb01f3 /source3/smbd
parenta5351dd6b92601815187189311de636ae5a14969 (diff)
downloadsamba-325738bd277648135815c99165fc8b72d1b1859c.tar.gz
samba-325738bd277648135815c99165fc8b72d1b1859c.tar.bz2
samba-325738bd277648135815c99165fc8b72d1b1859c.zip
WHATSNEW.txt: Updated for alpha3.
server.c: int16 -> uint16 fix for port comparisons in oplock code. Needed for Solaris. version.h: Updated to alpha3. Jeremy (jallison@whistle.com) (This used to be commit 2d9645e99ba30a5cce4372ff80d1bd26c516ac34)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 68f2dca27c..d67247481f 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -2631,7 +2631,7 @@ address %x. Error was %s\n", htonl(INADDR_LOOPBACK), strerror(errno)));
static BOOL process_local_message(int sock, char *buffer, int buf_size)
{
int32 msg_len;
- int16 from_port;
+ uint16 from_port;
char *msg_start;
msg_len = IVAL(buffer,UDP_CMD_LEN_OFFSET);
@@ -2995,7 +2995,7 @@ to pid %d on port %d for dev = %x, inode = %x. Error was %s\n",
{
char op_break_reply[UDP_CMD_HEADER_LEN+OPLOCK_BREAK_MSG_LEN];
int32 reply_msg_len;
- int16 reply_from_port;
+ uint16 reply_from_port;
char *reply_msg_start;
if(receive_local_message(oplock_sock, op_break_reply, sizeof(op_break_reply),