diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-12-19 12:03:17 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-12-19 12:03:17 +0000 |
commit | 263036a798b4c431f03dae20d33f90585d2b0cab (patch) | |
tree | 1a8af7fae50ac0b81fb0da9149b1eb92fb2706b0 /source3/libsmb/libsmb_server.c | |
parent | e0672ae29bcd345bdf0fec96844f658ffd941039 (diff) | |
parent | f87da49830960aebe4ffa551e7e1f16330d28cca (diff) | |
download | samba-263036a798b4c431f03dae20d33f90585d2b0cab.tar.gz samba-263036a798b4c431f03dae20d33f90585d2b0cab.tar.bz2 samba-263036a798b4c431f03dae20d33f90585d2b0cab.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba into pyregistry
Diffstat (limited to 'source3/libsmb/libsmb_server.c')
-rw-r--r-- | source3/libsmb/libsmb_server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c index 5e37871deb..f4714346d1 100644 --- a/source3/libsmb/libsmb_server.c +++ b/source3/libsmb/libsmb_server.c @@ -433,7 +433,9 @@ again: DEBUG(4,(" session request ok\n")); - if (!cli_negprot(c)) { + status = cli_negprot(c); + + if (!NT_STATUS_IS_OK(status)) { cli_shutdown(c); errno = ETIMEDOUT; return NULL; |