summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-21 21:23:22 +0000
committerJeremy Allison <jra@samba.org>2002-03-21 21:23:22 +0000
commitbffc69a877497c91f3acd77a229e9840b67f9087 (patch)
tree8f139fa22a5d9db45a31f60b57a83bd6feab7ca9
parent21ea8c28357f650aa0630fb7f13e3562ecad2faf (diff)
downloadsamba-bffc69a877497c91f3acd77a229e9840b67f9087.tar.gz
samba-bffc69a877497c91f3acd77a229e9840b67f9087.tar.bz2
samba-bffc69a877497c91f3acd77a229e9840b67f9087.zip
Fix stupid typo !
Jeremy. (This used to be commit d0b58f66edeac516bde2dff79ab5cf529c37954b)
-rw-r--r--source3/smbd/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 0aaf5fd1c7..c36dbdd522 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -161,8 +161,8 @@ static BOOL open_file(files_struct *fsp,connection_struct *conn,
check_for_pipe(fname);
return False;
}
- }
- fsp->fd == -1; /* What we used to call a stat open. */
+ } else
+ fsp->fd = -1; /* What we used to call a stat open. */
if (!VALID_STAT(*psbuf)) {
int ret;