mirror of
https://github.com/samba-team/samba.git
synced 2025-12-17 04:23:50 +03:00
fixed a typo in the select() emulation code
This commit is contained in:
@@ -79,7 +79,7 @@ int sys_select(fd_set *fds,struct timeval *tval)
|
|||||||
return(found);
|
return(found);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tval && tval.tv_sec < counter) return(0);
|
if (tval && tval->tv_sec < counter) return(0);
|
||||||
sleep(1);
|
sleep(1);
|
||||||
counter++;
|
counter++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user