summaryrefslogtreecommitdiff
path: root/source3/utils
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/utils
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/utils')
-rw-r--r--source3/utils/smbfilter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/smbfilter.c b/source3/utils/smbfilter.c
index 4f6420c767..643a3ed2ce 100644
--- a/source3/utils/smbfilter.c
+++ b/source3/utils/smbfilter.c
@@ -120,7 +120,7 @@ static void filter_child(int c, struct in_addr dest_ip)
if (s != -1) FD_SET(s, &fds);
if (c != -1) FD_SET(c, &fds);
- num = sys_select(MAX(s+1, c+1),&fds,NULL);
+ num = sys_select(MAX(s+1, c+1),&fds,NULL, NULL);
if (num <= 0) continue;
if (c != -1 && FD_ISSET(c, &fds)) {
@@ -184,7 +184,7 @@ static void start_filter(char *desthost)
FD_ZERO(&fds);
FD_SET(s, &fds);
- num = sys_select(s+1,&fds,NULL);
+ num = sys_select(s+1,&fds,NULL, NULL);
if (num > 0) {
c = accept(s, &addr, &in_addrlen);
if (c != -1) {