diff options
author | Jeremy Allison <jra@samba.org> | 2001-04-27 18:03:12 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-04-27 18:03:12 +0000 |
commit | 77429f871772ad2efd98e4bab5d695137211f226 (patch) | |
tree | 7ac43c5d3fed9dfa0332e61c1da3400e93ca81b5 /source3/smbd | |
parent | b8a2c65a181c9580debefcf34743b4fef7880ebe (diff) | |
download | samba-77429f871772ad2efd98e4bab5d695137211f226.tar.gz samba-77429f871772ad2efd98e4bab5d695137211f226.tar.bz2 samba-77429f871772ad2efd98e4bab5d695137211f226.zip |
Fix from matthew.hart@veritas.com - bad error return from linux_oplock_receive_message().
Jeremy.
(This used to be commit b35ca2c6b13877bc6e09c7c4179d9529a7d3e0b3)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/oplock_linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/oplock_linux.c b/source3/smbd/oplock_linux.c index e070761f10..5bf753d68c 100644 --- a/source3/smbd/oplock_linux.c +++ b/source3/smbd/oplock_linux.c @@ -127,7 +127,7 @@ static BOOL linux_oplock_receive_message(fd_set *fds, char *buffer, int buffer_l SMB_DEV_T dev; SMB_INO_T inode; SMB_STRUCT_STAT sbuf; - BOOL ret; + BOOL ret = True; if (signals_received == signals_processed) return False; @@ -164,7 +164,7 @@ dev = %x, inode = %.0f\n", (unsigned int)dev, (double)inode )); signals_processed++; BlockSignals(False, RT_SIGNAL_LEASE); - return True; + return ret; } |