From: Eric Leblond Date: Tue, 4 Sep 2012 11:35:15 +0000 (+0200) Subject: erf: fix logical operator usage. X-Git-Tag: suricata-1.4beta1~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a48d6cb2071f3b507da85f4d03322811eb6cf183;p=thirdparty%2Fsuricata.git erf: fix logical operator usage. --- diff --git a/src/source-erf-file.c b/src/source-erf-file.c index 48a7af074e..c17d108116 100644 --- a/src/source-erf-file.c +++ b/src/source-erf-file.c @@ -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); }