summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-01 02:15:14 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-01 02:15:14 +0000
commit6ddfc68e0496dc41f8c9a022a0b04a2066b43c9d (patch)
tree2f8a0996fe269f79e86d6336e4520d3278b442ed /source3/smbd
parent7e42174792298c8815acd1ebf34c357aff0de7c3 (diff)
downloadsamba-6ddfc68e0496dc41f8c9a022a0b04a2066b43c9d.tar.gz
samba-6ddfc68e0496dc41f8c9a022a0b04a2066b43c9d.tar.bz2
samba-6ddfc68e0496dc41f8c9a022a0b04a2066b43c9d.zip
sys_select added one more argument (read, write selectors).
(This used to be commit e4d92ff9dfc51735e6932748f66a7c20b2c1cb6a)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/oplock.c2
-rw-r--r--source3/smbd/process.c2
-rw-r--r--source3/smbd/server.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 1455b4d8e5..99fe7a69fa 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -135,7 +135,7 @@ BOOL receive_local_message(fd_set *fds, char *buffer, int buffer_len, int timeou
to.tv_sec = timeout / 1000;
to.tv_usec = (timeout % 1000) * 1000;
- selrtn = sys_select(maxfd+1,fds,&to);
+ selrtn = sys_select(maxfd+1,fds,NULL, &to);
/* Check if error */
if(selrtn == -1) {
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 1a6ec320e1..95222d3f51 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -173,7 +173,7 @@ static BOOL receive_message_or_smb(char *buffer, int buffer_len,
to.tv_sec = timeout / 1000;
to.tv_usec = (timeout % 1000) * 1000;
- selrtn = sys_select(MAX(maxfd,Client)+1,&fds,timeout>0?&to:NULL);
+ selrtn = sys_select(MAX(maxfd,Client)+1,&fds,NULL, timeout>0?&to:NULL);
/* Check if error */
if(selrtn == -1) {
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index a0c9ab7c56..5512e6e56b 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -207,7 +207,7 @@ max can be %d\n",
memcpy((char *)&lfds, (char *)&listen_set,
sizeof(listen_set));
- num = sys_select(256,&lfds,NULL);
+ num = sys_select(256,&lfds,NULL, NULL);
if (num == -1 && errno == EINTR)
continue;