1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

Merge of smbclient print crash bug fix from app head.

(This used to be commit a56298d56ae67a764e9b9a43c1c568b7125e1c18)
This commit is contained in:
Tim Potter 2002-02-15 02:46:13 +00:00
parent 8cd8cfd4cf
commit cd38c3a71c

View File

@ -629,8 +629,10 @@ files_struct *open_file_shared(connection_struct *conn,char *fname, SMB_STRUCT_S
if (conn->printer) {
/* printers are handled completely differently. Most of the passed parameters are
ignored */
*Access = DOS_OPEN_WRONLY;
*action = FILE_WAS_CREATED;
if (Access)
*Access = DOS_OPEN_WRONLY;
if (action)
*action = FILE_WAS_CREATED;
return print_fsp_open(conn, fname);
}