On Thu, Mar 24, 2016 at 09:34:48AM +0000, David CARLIER wrote:
> -     if (!memcmp(line, "TCP4 ", 5) != 0) {
> +     if (!(memcmp(line, "TCP4 ", 5) != 0)) {

Wow. Scary one. That said, couldn't you not avoid the double negation, like
this ? :-)

-       if (!memcmp(line, "TCP4 ", 5) != 0) {
+       if (memcmp(line, "TCP4 ", 5) == 0) {

thanks,
Willy


Reply via email to