diff options
-rwxr-xr-x | source/configure | 2 | ||||
-rw-r--r-- | source/smbd/oplock_linux.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/configure b/source/configure index 2347b0d3808..0c8a8c9cc6c 100755 --- a/source/configure +++ b/source/configure @@ -10158,7 +10158,7 @@ if eval "test \"`echo '$''{'samba_cv_REPLACE_GETPASS'+set}'`\" = set"; then else SAVE_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="$CPPFLAGS -I${srcdor-.}/ -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/smbwrapper" +CPPFLAGS="$CPPFLAGS -I${srcdir-.}/ -I${srcdir-.}/include -I${srcdir-.}/ubiqx -I${srcdir-.}/smbwrapper" cat > conftest.$ac_ext <<EOF #line 10164 "configure" #include "confdefs.h" diff --git a/source/smbd/oplock_linux.c b/source/smbd/oplock_linux.c index e070761f108..5bf753d68c5 100644 --- a/source/smbd/oplock_linux.c +++ b/source/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; } |