diff options
author | Gerald Carter <jerry@samba.org> | 2004-10-19 17:05:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:00 -0500 |
commit | 293136c04b7eb5293ef18273e13fca00c85bb5f0 (patch) | |
tree | 122bc0f24b690926d2f43aad98401052ce4f8ace /source3/smbd | |
parent | f2aca08c653a61dc4d6e99263dda7b649ef648b0 (diff) | |
download | samba-293136c04b7eb5293ef18273e13fca00c85bb5f0.tar.gz samba-293136c04b7eb5293ef18273e13fca00c85bb5f0.tar.bz2 samba-293136c04b7eb5293ef18273e13fca00c85bb5f0.zip |
r3067: patch based on volker's initial work in trunk that fixes the queu update problem when using the background daemon
(This used to be commit de7af09e727e744aa27af85ef7c0f73ed5c1550a)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/fileio.c b/source3/smbd/fileio.c index c2fb6e3456..b9fe1ad1cf 100644 --- a/source3/smbd/fileio.c +++ b/source3/smbd/fileio.c @@ -151,10 +151,10 @@ ssize_t write_file(files_struct *fsp, char *data, SMB_OFF_T pos, size_t n) int write_path = -1; if (fsp->print_file) { - int snum; + fstring sharename; uint32 jobid; - if (!rap_to_pjobid(fsp->rap_print_jobid, &snum, &jobid)) { + if (!rap_to_pjobid(fsp->rap_print_jobid, sharename, &jobid)) { DEBUG(3,("write_file: Unable to map RAP jobid %u to jobid.\n", (unsigned int)fsp->rap_print_jobid )); errno = EBADF; |