diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/oplock.c | 2 | ||||
-rw-r--r-- | source3/smbd/process.c | 2 | ||||
-rw-r--r-- | source3/smbd/server.c | 2 |
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; |