fixed a typo in the select() emulation code
authorSamba Release Account <samba-bugs@samba.org>
Sat, 4 May 1996 10:28:35 +0000 (10:28 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Sat, 4 May 1996 10:28:35 +0000 (10:28 +0000)
(This used to be commit 3f37b2db98cfc490a8ec99b8fdb1eaee00faea4c)

source3/lib/system.c

index 938746e9c9d7ff3696e409f44f067ad07567f953..ac64b37a6fe2d5311b9a06835f062e90fc65bced 100644 (file)
@@ -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++;
     }