r2027: Fix for but #1657, used initialized variable, from
authorJeremy Allison <jra@samba.org>
Tue, 24 Aug 2004 23:36:33 +0000 (23:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:29 +0000 (10:52 -0500)
Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
Jeremy.

source/smbd/open.c

index 65500c65cee6ccc282170c569959bb12f11e99c2..b08ca0f58b9125b45f0018b9f07ba9d12ae589d2 100644 (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);
        }