diff options
author | Jeremy Allison <jra@samba.org> | 2000-04-24 19:23:51 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-04-24 19:23:51 +0000 |
commit | 389b700a26e8a308a0dff6fc038c38068aa0119a (patch) | |
tree | 8ec3e39d975e2601e009cb98e91dd7d518407fc1 /source/smbd/reply.c | |
parent | 41af3232dba90832684ad8260ce0bb05e077cb02 (diff) | |
download | samba-389b700a26e8a308a0dff6fc038c38068aa0119a.tar.gz samba-389b700a26e8a308a0dff6fc038c38068aa0119a.tar.xz samba-389b700a26e8a308a0dff6fc038c38068aa0119a.zip |
Now that fsp's are created on successful file open, the structure member
fsp->open is no longer needed (if an fsp pointer is valid, then it's open :-).
NB for Luke, this patch also did not apply to TNG. TNG is not yet
identical w.r.t file serving with HEAD. This makes it impossible for
me to help maintain TNG. Please fix asap.
lib/substitute.c: Removed unused variable (pidstr).
Jeremy.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r-- | source/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index baff8f2ac87..a020f5eb3b1 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -2751,7 +2751,7 @@ int reply_close(connection_struct *conn, char *inbuf,char *outbuf, int size, * We can only use CHECK_FSP if we know it's not a directory. */ - if(!fsp || !fsp->open || (fsp->conn != conn)) + if(!fsp || (fsp->conn != conn)) return(ERROR(ERRDOS,ERRbadfid)); if(HAS_CACHED_ERROR(fsp)) { |