diff options
author | Jeremy Allison <jra@samba.org> | 2001-07-23 20:47:55 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-07-23 20:47:55 +0000 |
commit | 9444fc554ba31ef516d0d98bbfe7f1af883e3970 (patch) | |
tree | fe0a55399320d14d2d56650e4cf2a04e2b02d109 /source/printing | |
parent | 592ef3d8eaea6421db758f39b694c84e8f66ec20 (diff) | |
download | samba-9444fc554ba31ef516d0d98bbfe7f1af883e3970.tar.gz samba-9444fc554ba31ef516d0d98bbfe7f1af883e3970.tar.xz samba-9444fc554ba31ef516d0d98bbfe7f1af883e3970.zip |
Same fix for resume as for pause.
Jeremy.i
Diffstat (limited to 'source/printing')
-rw-r--r-- | source/printing/print_cups.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/printing/print_cups.c b/source/printing/print_cups.c index 10f5da28a3c..6d5a5460cda 100644 --- a/source/printing/print_cups.c +++ b/source/printing/print_cups.c @@ -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... |