summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-25 20:16:14 +0000
committerJeremy Allison <jra@samba.org>2002-01-25 20:16:14 +0000
commit9d8ed7220fed8a3b7ff9d45b9c5902c3255956ac (patch)
treeab9092eed226120dffb0a4cf7d7f4df0fd7fcef9 /source3/smbd
parentb3e5d34171b8e5e6320c28379cb0021bf857efa5 (diff)
downloadsamba-9d8ed7220fed8a3b7ff9d45b9c5902c3255956ac.tar.gz
samba-9d8ed7220fed8a3b7ff9d45b9c5902c3255956ac.tar.bz2
samba-9d8ed7220fed8a3b7ff9d45b9c5902c3255956ac.zip
Fixed display of "remote downlevel document" in old print job submission
case. Jeremy. (This used to be commit 248770d73072e36fd9812ec5986dce5380dfab33)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c2
-rw-r--r--source3/smbd/reply.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 589f1a32b4..6a6e22353b 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -632,7 +632,7 @@ files_struct *open_file_shared(connection_struct *conn,char *fname, SMB_STRUCT_S
ignored */
*Access = DOS_OPEN_WRONLY;
*action = FILE_WAS_CREATED;
- return print_fsp_open(conn);
+ return print_fsp_open(conn, fname);
}
fsp = file_new(conn);
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 03d0c18942..3233168ffc 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2504,7 +2504,7 @@ int reply_printopen(connection_struct *conn,
}
/* Open for exclusive use, write only. */
- fsp = print_fsp_open(conn);
+ fsp = print_fsp_open(conn, NULL);
if (!fsp) {
END_PROFILE(SMBsplopen);