diff options
Diffstat (limited to 'source3/lib/util_sock.c')
-rw-r--r-- | source3/lib/util_sock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index 3d32d77000..daab7933da 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -208,7 +208,7 @@ int read_data_outstanding(int fd, unsigned int time_out) timeout.tv_sec = (time_t) (time_out / 1000); timeout.tv_usec = (long)(1000 * (time_out % 1000)); - selrtn = sys_select_intr(fd + 1, &fds, &timeout); + selrtn = sys_select_intr(fd + 1, &fds, NULL, NULL, &timeout); if (selrtn <= 0) { @@ -283,7 +283,7 @@ static ssize_t read_socket_with_timeout(int fd,char *buf,size_t mincnt,size_t ma FD_ZERO(&fds); FD_SET(fd,&fds); - selrtn = sys_select_intr(fd+1,&fds,&timeout); + selrtn = sys_select_intr(fd+1,&fds,NULL,NULL,&timeout); /* Check if error */ if (selrtn == -1) { |