diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-02-10 09:18:04 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-02-10 09:18:04 +0000 |
commit | a9d598d6bbef39e2a2022befded7e5c5e1483f98 (patch) | |
tree | a95ca3a9220346510b018e8920e195d02ebadac5 /source3/printing/print_cups.c | |
parent | ec7a1994b0b937f95379a32bb135e816d407d843 (diff) | |
download | samba-a9d598d6bbef39e2a2022befded7e5c5e1483f98.tar.gz samba-a9d598d6bbef39e2a2022befded7e5c5e1483f98.tar.bz2 samba-a9d598d6bbef39e2a2022befded7e5c5e1483f98.zip |
Failure to find a CUPS printer, when auto-adding printers is not a level 0 error.
Andrew Bartlett
(This used to be commit 79650e08c9f1cbf66979adf2575d8b04e06fe4e7)
Diffstat (limited to 'source3/printing/print_cups.c')
-rw-r--r-- | source3/printing/print_cups.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index c283937556..7cf21c966e 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -332,7 +332,7 @@ int cups_printername_ok(const char *name) if ((http = httpConnect(cupsServer(), ippPort())) == NULL) { - DEBUG(0,("Unable to connect to CUPS server %s - %s\n", + DEBUG(3,("Unable to connect to CUPS server %s - %s\n", cupsServer(), strerror(errno))); return (0); } @@ -374,7 +374,7 @@ int cups_printername_ok(const char *name) if ((response = cupsDoRequest(http, request, "/")) == NULL) { - DEBUG(0,("Unable to get printer status for %s - %s\n", name, + DEBUG(3,("Unable to get printer status for %s - %s\n", name, ippErrorString(cupsLastError()))); httpClose(http); return (0); @@ -384,7 +384,7 @@ int cups_printername_ok(const char *name) if (response->request.status.status_code >= IPP_OK_CONFLICT) { - DEBUG(0,("Unable to get printer status for %s - %s\n", name, + DEBUG(3,("Unable to get printer status for %s - %s\n", name, ippErrorString(response->request.status.status_code))); ippDelete(response); return (0); |