From 9444fc554ba31ef516d0d98bbfe7f1af883e3970 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 23 Jul 2001 20:47:55 +0000 Subject: Same fix for resume as for pause. Jeremy.i --- source/printing/print_cups.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/printing') 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... -- cgit