From fb863569eb4f51ae62a066dc8049d3ffc0efb0bb Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 18 Oct 2018 14:25:09 -0400 Subject: Move debug printfs to internal usage only. Also, old MD5 code is internal-only. --- berkeley/Dependencies | 35 +++++++++++++++++------------------ berkeley/lpc.c | 4 ---- berkeley/lpq.c | 3 --- 3 files changed, 17 insertions(+), 25 deletions(-) (limited to 'berkeley') diff --git a/berkeley/Dependencies b/berkeley/Dependencies index b115953ba..acb7bd1fd 100644 --- a/berkeley/Dependencies +++ b/berkeley/Dependencies @@ -1,25 +1,24 @@ lpc.o: lpc.c ../cups/cups-private.h ../cups/string-private.h ../config.h \ - ../cups/debug-private.h ../cups/versioning.h ../cups/array-private.h \ - ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ - ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ - ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ - ../cups/pwg-private.h ../cups/thread-private.h + ../cups/versioning.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h lpq.o: lpq.c ../cups/cups-private.h ../cups/string-private.h ../config.h \ - ../cups/debug-private.h ../cups/versioning.h ../cups/array-private.h \ - ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ - ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ - ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ - ../cups/pwg-private.h ../cups/thread-private.h + ../cups/versioning.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h lpr.o: lpr.c ../cups/cups-private.h ../cups/string-private.h ../config.h \ - ../cups/debug-private.h ../cups/versioning.h ../cups/array-private.h \ + ../cups/versioning.h ../cups/array-private.h ../cups/array.h \ + ../cups/ipp-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \ + ../cups/http.h ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ + ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ + ../cups/thread-private.h +lprm.o: lprm.c ../cups/cups-private.h ../cups/string-private.h \ + ../config.h ../cups/versioning.h ../cups/array-private.h \ ../cups/array.h ../cups/ipp-private.h ../cups/cups.h ../cups/file.h \ ../cups/ipp.h ../cups/http.h ../cups/language.h ../cups/pwg.h \ ../cups/http-private.h ../cups/language-private.h ../cups/transcode.h \ ../cups/pwg-private.h ../cups/thread-private.h -lprm.o: lprm.c ../cups/cups-private.h ../cups/string-private.h \ - ../config.h ../cups/debug-private.h ../cups/versioning.h \ - ../cups/array-private.h ../cups/array.h ../cups/ipp-private.h \ - ../cups/cups.h ../cups/file.h ../cups/ipp.h ../cups/http.h \ - ../cups/language.h ../cups/pwg.h ../cups/http-private.h \ - ../cups/language-private.h ../cups/transcode.h ../cups/pwg-private.h \ - ../cups/thread-private.h diff --git a/berkeley/lpc.c b/berkeley/lpc.c index bfa3c1c40..7ab43ea12 100644 --- a/berkeley/lpc.c +++ b/berkeley/lpc.c @@ -230,8 +230,6 @@ show_status(http_t *http, /* I - HTTP connection to server */ }; - DEBUG_printf(("show_status(http=%p, dests=\"%s\")\n", http, dests)); - if (http == NULL) return; @@ -255,8 +253,6 @@ show_status(http_t *http, /* I - HTTP connection to server */ if ((response = cupsDoRequest(http, request, "/")) != NULL) { - DEBUG_puts("show_status: request succeeded..."); - /* * Loop through the printers returned in the list and display * their status... diff --git a/berkeley/lpq.c b/berkeley/lpq.c index 47220f5d7..7392d59ca 100644 --- a/berkeley/lpq.c +++ b/berkeley/lpq.c @@ -348,9 +348,6 @@ show_jobs(const char *command, /* I - Command name */ }; - DEBUG_printf(("show_jobs(http=%p, dest=%p, user=%p, id=%d, longstatus%d)\n", - http, dest, user, id, longstatus)); - if (http == NULL) return (0); -- cgit v1.2.1