1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

Same fix for resume as for pause.

Jeremy.i
(This used to be commit 9444fc554ba31ef516d0d98bbfe7f1af883e3970)
This commit is contained in:
Jeremy Allison 2001-07-23 20:47:55 +00:00
parent c0d02ca380
commit cab11894ec

View File

@ -1101,6 +1101,7 @@ cups_queue_pause(int snum)
static int
cups_queue_resume(int snum)
{
extern userdom_struct current_user_info;
int ret; /* Return value */
http_t *http; /* HTTP connection to server */
ipp_t *request, /* IPP Request */
@ -1157,7 +1158,7 @@ cups_queue_resume(int snum)
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri);
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name",
NULL, pjob->user);
NULL, current_user_info.unix_name);
/*
* Do the request and get back a response...