summaryrefslogtreecommitdiffstats
path: root/source/smbd/open.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-08-24 23:36:33 +0000
committerJeremy Allison <jra@samba.org>2004-08-24 23:36:33 +0000
commit3733e75a5bec23c07c196a95df14b4751c5fb134 (patch)
tree28305f4192d40b0ac7a009c0cb7b9160e9830f7a /source/smbd/open.c
parent434a6a41a3d5769d6d4cf3303b306d24af0f7f0f (diff)
downloadsamba-3733e75a5bec23c07c196a95df14b4751c5fb134.tar.gz
samba-3733e75a5bec23c07c196a95df14b4751c5fb134.tar.xz
samba-3733e75a5bec23c07c196a95df14b4751c5fb134.zip
r2027: Fix for but #1657, used initialized variable, from
Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>. Jeremy.
Diffstat (limited to 'source/smbd/open.c')
-rw-r--r--source/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/open.c b/source/smbd/open.c
index 65500c65cee..b08ca0f58b9 100644
--- a/source/smbd/open.c
+++ b/source/smbd/open.c
@@ -1024,7 +1024,7 @@ files_struct *open_file_shared1(connection_struct *conn,char *fname, SMB_STRUCT_
ignored */
if (Access)
*Access = DOS_OPEN_WRONLY;
- if (action)
+ if (paction)
*paction = FILE_WAS_CREATED;
return print_fsp_open(conn, fname);
}