summaryrefslogtreecommitdiffstats
path: root/source3/smbd/oplock.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-04-19 02:16:54 +0000
committerJeremy Allison <jra@samba.org>2002-04-19 02:16:54 +0000
commit87fc82801285a83b6e2e0faf85ca0984e939b088 (patch)
treef5c7df410048f314517b21f26a4ffbd0931dee46 /source3/smbd/oplock.c
parente41915d7c802566f598ac844514913fb230f4f7d (diff)
downloadsamba-87fc82801285a83b6e2e0faf85ca0984e939b088.tar.gz
samba-87fc82801285a83b6e2e0faf85ca0984e939b088.tar.xz
samba-87fc82801285a83b6e2e0faf85ca0984e939b088.zip
Fix oplock recvfrom.
Jeremy. (This used to be commit 68c0eb5ca7bc96cfdc8df07bd84f3e49de024b81)
Diffstat (limited to 'source3/smbd/oplock.c')
-rw-r--r--source3/smbd/oplock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 23606f1d14..2f74c4cd8c 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -131,7 +131,7 @@ BOOL receive_local_message(fd_set *fds, char *buffer, int buffer_len, int timeou
/*
* Read a loopback udp message.
*/
- msg_len = recvfrom(oplock_sock, &buffer[OPBRK_CMD_HEADER_LEN],
+ msg_len = sys_recvfrom(oplock_sock, &buffer[OPBRK_CMD_HEADER_LEN],
buffer_len - OPBRK_CMD_HEADER_LEN, 0, (struct sockaddr *)&from, &fromlen);
if(msg_len < 0) {