diff options
author | Jeremy Allison <jra@samba.org> | 2002-01-31 23:26:12 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-01-31 23:26:12 +0000 |
commit | 69adbb0ce3bb9d5bd569c13aaa3ac8f390c1586a (patch) | |
tree | 64a15ac400842319f5db5d2c504632a0ea5ad751 /source3/libsmb | |
parent | 0815cd63bd878d72c154caf5e121352b2af10a53 (diff) | |
download | samba-69adbb0ce3bb9d5bd569c13aaa3ac8f390c1586a.tar.gz samba-69adbb0ce3bb9d5bd569c13aaa3ac8f390c1586a.tar.bz2 samba-69adbb0ce3bb9d5bd569c13aaa3ac8f390c1586a.zip |
Fix from Michael Steffens <michael_steffens@hp.com> to make signal
processing work correctly in winbindd. This is a really good patch
that gives full select semantics to the Samba modified select.
Jeremy.
(This used to be commit 3af16ade173cac24c1ac5eff4a36b439f16ac036)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/nmblib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/nmblib.c b/source3/libsmb/nmblib.c index 0d14461547..c78946fa09 100644 --- a/source3/libsmb/nmblib.c +++ b/source3/libsmb/nmblib.c @@ -952,7 +952,7 @@ struct packet_struct *receive_packet(int fd,enum packet_type type,int t) timeout.tv_sec = t/1000; timeout.tv_usec = 1000*(t%1000); - if ((ret = sys_select_intr(fd+1,&fds,&timeout)) == -1) { + if ((ret = sys_select_intr(fd+1,&fds,NULL,NULL,&timeout)) == -1) { /* errno should be EBADF or EINVAL. */ DEBUG(0,("select returned -1, errno = %s (%d)\n", strerror(errno), errno)); return NULL; |