Get rid of strcasestr call as win32 doesn't have it.

remotes/origin/master-1.1.x
Victor Julien 14 years ago
parent 561630d864
commit 404868c28b

@ -562,7 +562,7 @@ void FlowForceReassemblySetup(void)
stream_pseudo_pkt_detect_TV = NULL;
}
stream_pseudo_pkt_decode_tm_slot = TmThreadGetFirstTmSlotForPartialPattern("decode");
stream_pseudo_pkt_decode_tm_slot = TmThreadGetFirstTmSlotForPartialPattern("Decode");
if (stream_pseudo_pkt_decode_tm_slot == NULL) {
/* yes, this is fatal! */
SCLogError(SC_ERR_TM_MODULES_ERROR, "Looks like we have failed to "

@ -1464,7 +1464,7 @@ TmSlot *TmThreadGetFirstTmSlotForPartialPattern(const char *tm_name)
while (slots != NULL) {
TmModule *tm = TmModuleGetById(slots->tm_id);
char *found = strcasestr(tm->name, tm_name);
char *found = strstr(tm->name, tm_name);
if (found != NULL)
goto end;

Loading…
Cancel
Save