]> granicus.if.org Git - ngircd/commit
parse: fix logical expression testing for non RFC1459 links
authorFlorian Westphal <fw@strlen.de>
Fri, 29 Apr 2011 21:15:05 +0000 (23:15 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 29 Apr 2011 21:27:56 +0000 (23:27 +0200)
commit05748aa5eeaf75438a0bb238967667605fe4d52e
tree725caf8c244c90b3c51e83606b9bd7a6b8b85988
parent0bb892bb5fe1f0d9d783808d211c039e11e12f3b
parse: fix logical expression testing for non RFC1459 links

parse.c:284: warning: suggest parentheses around operand of '!' or
change '&' to '&&' or '!' to '~'

The expression looks dubious, this should probably be
an if-not-set, then... test.
src/ngircd/parse.c