summaryrefslogtreecommitdiffstats
path: root/source/lib/system.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1996-05-04 10:28:35 +0000
committerSamba Release Account <samba-bugs@samba.org>1996-05-04 10:28:35 +0000
commit3f37b2db98cfc490a8ec99b8fdb1eaee00faea4c (patch)
tree62f0ffaa6d723f95955d6d6e1f99400d619a1de2 /source/lib/system.c
parent3e2239aa59f1af438e812860bfdc0247f3ce1754 (diff)
downloadsamba-3f37b2db98cfc490a8ec99b8fdb1eaee00faea4c.tar.gz
samba-3f37b2db98cfc490a8ec99b8fdb1eaee00faea4c.tar.xz
samba-3f37b2db98cfc490a8ec99b8fdb1eaee00faea4c.zip
fixed a typo in the select() emulation code
Diffstat (limited to 'source/lib/system.c')
-rw-r--r--source/lib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/system.c b/source/lib/system.c
index 938746e9c9d..ac64b37a6fe 100644
--- a/source/lib/system.c
+++ b/source/lib/system.c
@@ -79,7 +79,7 @@ int sys_select(fd_set *fds,struct timeval *tval)
return(found);
}
- if (tval && tval.tv_sec < counter) return(0);
+ if (tval && tval->tv_sec < counter) return(0);
sleep(1);
counter++;
}