summaryrefslogtreecommitdiffstats
path: root/source/smbd/open.c
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
commitd0b58f66edeac516bde2dff79ab5cf529c37954b (patch)
treee99efa273dc34246078722abb37953891b510426 /source/smbd/open.c
parent3e602671e2b75b29e85b66cdf4f60fe70cc52701 (diff)
downloadsamba-d0b58f66edeac516bde2dff79ab5cf529c37954b.tar.gz
samba-d0b58f66edeac516bde2dff79ab5cf529c37954b.tar.xz
samba-d0b58f66edeac516bde2dff79ab5cf529c37954b.zip
Fix stupid typo !
Jeremy.
Diffstat (limited to 'source/smbd/open.c')
-rw-r--r--source/smbd/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/open.c b/source/smbd/open.c
index 0aaf5fd1c75..c36dbdd522d 100644
--- a/source/smbd/open.c
+++ b/source/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;