From: Victor Julien Date: Tue, 6 May 2014 11:47:18 +0000 (+0200) Subject: flow unittest: update flow manager unit test X-Git-Tag: suricata-2.1beta1~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4aff4c650ffac6f3700cfa62349ea3d672c9dbd4;p=thirdparty%2Fsuricata.git flow unittest: update flow manager unit test Test now tests a different queue. --- diff --git a/src/flow-manager.c b/src/flow-manager.c index b3daeb0e2e..d175f02bb4 100644 --- a/src/flow-manager.c +++ b/src/flow-manager.c @@ -1040,7 +1040,7 @@ static int FlowMgrTest05 (void) { FlowTimeoutCounters counters = { 0, 0, 0, }; FlowTimeoutHash(&ts, 0 /* check all */, &counters); - if (flow_spare_q.len > 0) { + if (flow_recycle_q.len > 0) { result = 1; }