Fix stupid typo !
authorJeremy Allison <jra@samba.org>
Thu, 21 Mar 2002 21:23:22 +0000 (21:23 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 21 Mar 2002 21:23:22 +0000 (21:23 +0000)
Jeremy.

source/smbd/open.c

index 0aaf5fd1c753faae476e1348846e99c40d63ee0e..c36dbdd522d4a61520f31c0cf4bb7237256849a9 100644 (file)
@@ -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;