diff options
author | Jeremy Allison <jra@samba.org> | 2001-07-23 20:40:16 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-07-23 20:40:16 +0000 |
commit | c0d02ca380184f3a835f3c6b03b408304b2e851b (patch) | |
tree | 9e99697d021111759070f85316b959066f03688a | |
parent | 6b53da146e12e42347ea0245e12279b7464f8ae5 (diff) | |
download | samba-c0d02ca380184f3a835f3c6b03b408304b2e851b.tar.gz samba-c0d02ca380184f3a835f3c6b03b408304b2e851b.tar.bz2 samba-c0d02ca380184f3a835f3c6b03b408304b2e851b.zip |
Fix for CUPS pause/restart code.
Jeremy.
(This used to be commit 592ef3d8eaea6421db758f39b694c84e8f66ec20)
-rw-r--r-- | source3/printing/print_cups.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index cc6ed9871a..10f5da28a3 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -1074,7 +1074,7 @@ cups_queue_pause(int snum) ret = 1; - if ((response = cupsDoRequest(http, request, "/admin")) != NULL) + if ((response = cupsDoRequest(http, request, "/admin/")) != NULL) { if (response->request.status.status_code >= IPP_OK_CONFLICT) DEBUG(0,("Unable to pause printer %s - %s\n", PRINTERNAME(snum), @@ -1165,7 +1165,7 @@ cups_queue_resume(int snum) ret = 1; - if ((response = cupsDoRequest(http, request, "/admin")) != NULL) + if ((response = cupsDoRequest(http, request, "/admin/")) != NULL) { if (response->request.status.status_code >= IPP_OK_CONFLICT) DEBUG(0,("Unable to resume printer %s - %s\n", PRINTERNAME(snum), |