diff options
author | Jeremy Allison <jra@samba.org> | 2002-07-17 19:12:17 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-07-17 19:12:17 +0000 |
commit | 29426b4a50275e24020ae67898cd7d156a341a7f (patch) | |
tree | 60a8ff0974faa1341be98df827146a8ab670320e /source3/smbd/fileio.c | |
parent | cc9511af8c3bb1b805ba34049e7861e226ed5f7d (diff) | |
download | samba-29426b4a50275e24020ae67898cd7d156a341a7f.tar.gz samba-29426b4a50275e24020ae67898cd7d156a341a7f.tar.bz2 samba-29426b4a50275e24020ae67898cd7d156a341a7f.zip |
Gone back to explicit queue number passing as snum - removed encoding of
queueid in job number. This means we must have an internal tdb to store
mapping from 16 bit RAP jobid's to 32 bit RPC jobids.
Jeremy.
(This used to be commit 4ff64f69706cc94d5dba7762754d00790c476963)
Diffstat (limited to 'source3/smbd/fileio.c')
-rw-r--r-- | source3/smbd/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/fileio.c b/source3/smbd/fileio.c index 710ba396d8..89f05092b4 100644 --- a/source3/smbd/fileio.c +++ b/source3/smbd/fileio.c @@ -163,7 +163,7 @@ ssize_t write_file(files_struct *fsp, char *data, SMB_OFF_T pos, size_t n) int write_path = -1; if (fsp->print_file) - return print_job_write(fsp->print_jobid, data, n); + return print_job_write(SNUM(fsp->conn), fsp->print_jobid, data, n); if (!fsp->can_write) { errno = EPERM; |