diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-06-05 08:33:53 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-06 10:18:37 +0200 |
commit | c2ffe330b4c33d70699882297122a450caedbecb (patch) | |
tree | 7b8f56fd0a5db1da812bd25e167d798c9a6bfc46 /source3/smbd | |
parent | 145fe2ac4c43aef94ae64f991fdf63b6487bda8e (diff) | |
download | samba-c2ffe330b4c33d70699882297122a450caedbecb.tar.gz samba-c2ffe330b4c33d70699882297122a450caedbecb.tar.bz2 samba-c2ffe330b4c33d70699882297122a450caedbecb.zip |
s3:smbd: use print_spool_rap_jobid() in reply_ioctl()
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index d01ff905a3..f1a97697f6 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -944,11 +944,8 @@ void reply_ioctl(struct smb_request *req) return; } /* Job number */ - if (fsp->print_file) { - SSVAL(p, 0, fsp->print_file->rap_jobid); - } else { - SSVAL(p, 0, 0); - } + SSVAL(p, 0, print_spool_rap_jobid(fsp->print_file)); + srvstr_push((char *)req->outbuf, req->flags2, p+2, lp_netbios_name(), 15, STR_TERMINATE|STR_ASCII); |