Project

General

Profile

Bug #189 ยป 0001-fixed-the-build-failure-with-profiling-enabled.patch

Gurvinder Singh, 06/27/2010 01:19 AM

View differences:

src/detect-engine-state.c
SigIntId cnt = 0;
SigIntId store_cnt = 0;
DeStateStore *store = NULL;
int match = 0;
char umatch = 0;
char uinspect = 0;
char dmatch = 0;
......
dinspect = 0;
appinspect = 0;
appmatch = 0;
match = 0;
SCLogDebug("internal id of signature to inspect: %"PRIuMAX,
(uintmax_t)item->sid);
......
/* next, check the other sig matches */
if (item->nm != NULL) {
SigMatch *sm;
int match = 0;
for (sm = item->nm; sm != NULL; sm = sm->next) {
match = sigmatch_table[sm->type].AppLayerMatch(tv,
det_ctx, f, flags, alstate, s, sm);
    (1-1/1)