diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-03-01 16:23:53 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-03-01 16:23:53 +0100 |
commit | 54bc27e9374742d37b1ed9012d1cfe8f5ace6d40 (patch) | |
tree | 6758fc4a1867dc76a016bc29d36d07e63853a15e /source3/smbd | |
parent | 55903e6f9120f1ec58a8554813229975c3028a09 (diff) | |
parent | 4a35c974e97551b1ccbfa41d4c08f0598e3c26aa (diff) | |
download | samba-54bc27e9374742d37b1ed9012d1cfe8f5ace6d40.tar.gz samba-54bc27e9374742d37b1ed9012d1cfe8f5ace6d40.tar.bz2 samba-54bc27e9374742d37b1ed9012d1cfe8f5ace6d40.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba into talloc-next
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/fileio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/fileio.c b/source3/smbd/fileio.c index a9a97a2d14..adf664b396 100644 --- a/source3/smbd/fileio.c +++ b/source3/smbd/fileio.c @@ -256,10 +256,9 @@ ssize_t write_file(struct smb_request *req, int write_path = -1; if (fsp->print_file) { - fstring sharename; uint32 jobid; - if (!rap_to_pjobid(fsp->rap_print_jobid, sharename, &jobid)) { + if (!rap_to_pjobid(fsp->rap_print_jobid, NULL, &jobid)) { DEBUG(3,("write_file: Unable to map RAP jobid %u to jobid.\n", (unsigned int)fsp->rap_print_jobid )); errno = EBADF; |