diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-09 15:38:53 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-13 19:32:38 +0200 |
commit | c3fedcddd5e79c60f5fcc0219752c27277a4d9f7 (patch) | |
tree | 8248641a0fbedb7d87072cfc2e852683b2da3267 /source3/printing | |
parent | 3bbe5e88e55a92a177260310daffd6deae551ba3 (diff) | |
download | samba-c3fedcddd5e79c60f5fcc0219752c27277a4d9f7.tar.gz samba-c3fedcddd5e79c60f5fcc0219752c27277a4d9f7.tar.bz2 samba-c3fedcddd5e79c60f5fcc0219752c27277a4d9f7.zip |
Pass struct smb_request to file_new
Goal is to remove the chain_fsp global variable
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/printfsp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/printing/printfsp.c b/source3/printing/printfsp.c index c6749226fd..02122e8a6b 100644 --- a/source3/printing/printfsp.c +++ b/source3/printing/printfsp.c @@ -25,7 +25,8 @@ open a print file and setup a fsp for it. This is a wrapper around print_job_start(). ***************************************************************************/ -NTSTATUS print_fsp_open(connection_struct *conn, const char *fname, +NTSTATUS print_fsp_open(struct smb_request *req, connection_struct *conn, + const char *fname, uint16_t current_vuid, files_struct **result) { int jobid; @@ -34,7 +35,7 @@ NTSTATUS print_fsp_open(connection_struct *conn, const char *fname, fstring name; NTSTATUS status; - status = file_new(conn, &fsp); + status = file_new(req, conn, &fsp); if(!NT_STATUS_IS_OK(status)) { return status; } |