Move CreateLowercaseTable to GLobalInits

pull/479/head
Eric Leblond 13 years ago
parent 02e9851315
commit 7242cb30e7

@ -317,6 +317,8 @@ void GlobalInits()
SCLogInfo("Trans_Q Mutex not initialized correctly"); SCLogInfo("Trans_Q Mutex not initialized correctly");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
CreateLowercaseTable();
} }
/* XXX hack: make sure threads can stop the engine by calling this /* XXX hack: make sure threads can stop the engine by calling this
@ -1891,8 +1893,6 @@ int main(int argc, char **argv)
} }
} }
CreateLowercaseTable();
/* hardcoded initialization code */ /* hardcoded initialization code */
SigTableSetup(); /* load the rule keywords */ SigTableSetup(); /* load the rule keywords */
TmqhSetup(); TmqhSetup();

Loading…
Cancel
Save