]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
erf: fix logical operator usage.
authorEric Leblond <eric@regit.org>
Tue, 4 Sep 2012 11:35:15 +0000 (13:35 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 5 Sep 2012 15:36:06 +0000 (17:36 +0200)
src/source-erf-file.c

index 48a7af074e58b684ea9d148fd1d43994d5e93276..c17d1081168567f89dd851b0182cd2d0b33fb974 100644 (file)
@@ -116,7 +116,7 @@ TmEcode ReceiveErfFileLoop(ThreadVars *tv, void *data, void *slot)
     etv->slot = ((TmSlot *)slot)->slot_next;
 
     while (1) {
-        if (suricata_ctl_flags & (SURICATA_STOP || SURICATA_KILL)) {
+        if (suricata_ctl_flags & (SURICATA_STOP | SURICATA_KILL)) {
             SCReturnInt(TM_ECODE_OK);
         }