https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7148
Bug ID: 7148
Summary: getopt.c:251: possible bad if ?
Product: Spamassassin
Version: 3.4.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: spamc/spamd
Assignee: [email protected]
Reporter: [email protected]
[spamc/getopt.c:251] -> [spamc/getopt.c:251]: (style) Same expression on both
sides of '||'.
if((longopts[i].name == NULL) || (longopts[i].name == 0))
maybe better code
if((longopts[i].name == NULL) || (longopts[i].name[0] == 0))
--
You are receiving this mail because:
You are the assignee for the bug.