mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
fixed a typo in the select() emulation code
(This used to be commit 3f37b2db98
)
This commit is contained in:
parent
d5cd0b3ac0
commit
ea4abcd719
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user