diff options
author | Jeremy Allison <jra@samba.org> | 2004-08-24 23:36:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:29 -0500 |
commit | a96dfe038e98234698e1967c54be5f4a2a47fa09 (patch) | |
tree | 2324efb5907032001e5f1053e20d4b57de05fa97 | |
parent | fcbb2d3132df36057da73701f7e23f434034e6b0 (diff) | |
download | samba-a96dfe038e98234698e1967c54be5f4a2a47fa09.tar.gz samba-a96dfe038e98234698e1967c54be5f4a2a47fa09.tar.bz2 samba-a96dfe038e98234698e1967c54be5f4a2a47fa09.zip |
r2027: Fix for but #1657, used initialized variable, from
Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
Jeremy.
(This used to be commit 07f7aa6afb0945bb0e108981c4984a6c04c42a53)
-rw-r--r-- | source3/smbd/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 65500c65ce..b08ca0f58b 100644 --- a/source3/smbd/open.c +++ b/source3/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); } |