gatchat: Fix compiler warning with logical expression
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Jul 2015 09:28:34 +0000 (11:28 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Jul 2015 09:35:54 +0000 (11:35 +0200)
commitb2b67fa74ebf24a20d1b44fa2036b106b4a0d722
tree2446424b7b176938bd9e84df1203f5b1f2ee90c2
parent96754c0dfc5548202059d9dfdd79681c222c0b3b
gatchat: Fix compiler warning with logical expression

  CC       gatchat/gatchat.o
gatchat/gatchat.c: In function ‘have_line’:
gatchat/gatchat.c:586:28: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
  if (!strncmp(str, "AT", 2) == TRUE)
                            ^
gatchat/gatchat.c