summaryrefslogtreecommitdiffstats
path: root/source/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
commit248770d73072e36fd9812ec5986dce5380dfab33 (patch)
treefc8604b377855cb4db38f2c21c88680c78e3ddd1 /source/smbd
parent5f4de275a3a63a95e76d077ffc94321a078833bf (diff)
downloadsamba-248770d73072e36fd9812ec5986dce5380dfab33.tar.gz
samba-248770d73072e36fd9812ec5986dce5380dfab33.tar.xz
samba-248770d73072e36fd9812ec5986dce5380dfab33.zip
Fixed display of "remote downlevel document" in old print job submission
case. Jeremy.
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/open.c2
-rw-r--r--source/smbd/reply.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/open.c b/source/smbd/open.c
index 589f1a32b43..6a6e22353bc 100644
--- a/source/smbd/open.c
+++ b/source/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/source/smbd/reply.c b/source/smbd/reply.c
index 03d0c189424..3233168ffcd 100644
--- a/source/smbd/reply.c
+++ b/source/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);