git.samba.org
/
gd
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r14003: Clarify code that lead to Coverity report #13.
[gd/samba/.git]
/
source3
/
printing
/
lpq_parse.c
diff --git
a/source3/printing/lpq_parse.c
b/source3/printing/lpq_parse.c
index 68c06ade41f0240df99dbb055d992d9182f5539b..7e81b5187c9cef1579a24c8e848db7f3cf944ebd 100644
(file)
--- a/
source3/printing/lpq_parse.c
+++ b/
source3/printing/lpq_parse.c
@@
-971,7
+971,7
@@
BOOL parse_lpq_entry(enum printing_types printing_type,char *line,
}
/* in the LPRNG case, we skip lines starting by a space.*/
- if (
line &&
!ret && (printing_type==PRINT_LPRNG) )
+ if (!ret && (printing_type==PRINT_LPRNG) )
{
if (line[0]==' ')
return ret;