summaryrefslogtreecommitdiff
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
commitea4abcd71981a75b74b31ec80530872d65190a5e (patch)
tree6ea8d79b046191619ac5c4743dc3bd9ce3e7856f
parentd5cd0b3ac0d6631b986cc99acbbd249479227fdd (diff)
downloadsamba-ea4abcd71981a75b74b31ec80530872d65190a5e.tar.gz
samba-ea4abcd71981a75b74b31ec80530872d65190a5e.tar.bz2
samba-ea4abcd71981a75b74b31ec80530872d65190a5e.zip
fixed a typo in the select() emulation code
(This used to be commit 3f37b2db98cfc490a8ec99b8fdb1eaee00faea4c)
-rw-r--r--source3/lib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 938746e9c9..ac64b37a6f 100644
--- a/source3/lib/system.c
+++ b/source3/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++;
}