erf: fix logical operator usage.

pull/56/head
Eric Leblond 13 years ago committed by Victor Julien
parent 2026a68697
commit a48d6cb207

@ -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);
}

Loading…
Cancel
Save