summaryrefslogtreecommitdiff
path: root/source3/printing/lpq_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/lpq_parse.c')
-rw-r--r--source3/printing/lpq_parse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/printing/lpq_parse.c b/source3/printing/lpq_parse.c
index 21e7b37faf..91fc2ead71 100644
--- a/source3/printing/lpq_parse.c
+++ b/source3/printing/lpq_parse.c
@@ -1117,7 +1117,9 @@ bool parse_lpq_entry(enum printing_types printing_type,char *line,
printer status line:
handle them so that most severe condition is shown */
int i;
- strlower_m(line);
+ if (!strlower_m(line)) {
+ return false;
+ }
switch (status->status) {
case LPSTAT_OK: