From bffc69a877497c91f3acd77a229e9840b67f9087 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 21 Mar 2002 21:23:22 +0000 Subject: [PATCH] Fix stupid typo ! Jeremy. (This used to be commit d0b58f66edeac516bde2dff79ab5cf529c37954b) --- source3/smbd/open.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 0aaf5fd1c75..c36dbdd522d 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;