]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
foomatic-rip: Debug message was wrongly sent to stdout and not to log
authorTill Kamppeter <till.kamppeter@gmail.com>
Sun, 5 Sep 2021 09:36:28 +0000 (11:36 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Sun, 5 Sep 2021 09:46:26 +0000 (11:46 +0200)
Issue #422

(cherry picked from commit 32e60bb44a147b7f7612557b09818d60411c19fb)

NEWS
filter/foomatic-rip/options.c

diff --git a/NEWS b/NEWS
index 0ee4218f51efdb007cb6582716d9509b57c9c502..1cbff93fd9153ae8b94d30fdf89355e62bd4aa6d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,11 @@
 NEWS - OpenPrinting CUPS Filters v1.28.10 - 2021-08-17
 ------------------------------------------------------
 
+CHANGES IN V1.28.11
+
+       - foomatic-rip: Debug message was wrongly sent to stdout and
+         not to log (Issue #422).
+
 CHANGES IN V1.28.10
 
        - Sample PPDs: Add borderless page size definitions to Generic
index 67615371b35f58a5e97048e680859f7ff2799580..1a1072f7e9d7446ccba29e56b7f01333737ab160 100644 (file)
@@ -2161,7 +2161,7 @@ static page_range_t * parse_page_ranges(const char *ranges)
             }
         }
         else {
-            printf("Invalid page range: %s\n", tok);
+            _log("Invalid page range: %s\n", tok);
             free(pr);
             continue;
         }