git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c377b0e
)
Oops. Need to test for if(!NT_STATUS_IS_OK(..)) for error.
author
Jeremy Allison
<jra@samba.org>
Wed, 9 Feb 2011 20:18:55 +0000
(12:18 -0800)
committer
Jeremy Allison
<jra@samba.org>
Wed, 9 Feb 2011 21:06:05 +0000
(22:06 +0100)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb 9 22:06:05 CET 2011 on sn-devel-104
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index 89d137506b9e9822c8b21ea54313c628102a55bc..b6a75bb16f73f8142ebfa4a22d0dec5af233b926 100644
(file)
--- a/
source3/smbd/open.c
+++ b/
source3/smbd/open.c
@@
-2756,7
+2756,7
@@
static NTSTATUS open_directory(connection_struct *conn,
}
status = vfs_stat_fsp(fsp);
- if (NT_STATUS_IS_OK(status)) {
+ if (
!
NT_STATUS_IS_OK(status)) {
fd_close(fsp);
file_free(req, fsp);
return status;