1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

r2027: Fix for but #1657, used initialized variable, from

Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
Jeremy.
(This used to be commit 07f7aa6afb0945bb0e108981c4984a6c04c42a53)
This commit is contained in:
Jeremy Allison 2004-08-24 23:36:33 +00:00 committed by Gerald (Jerry) Carter
parent fcbb2d3132
commit a96dfe038e

View File

@ -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);
}