fixed a typo in the select() emulation code
[samba.git] / source / 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++;
     }