Fix http module warnings.

remotes/origin/master-1.0.x
Victor Julien 16 years ago
parent 2d6cf71d37
commit 4cae27522d

@ -130,6 +130,9 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION

@ -407,7 +407,7 @@ static void HTTPStateFree(void *s) {
#endif
}
/* void RegisterHTTPParsers(void) {
void RegisterHTTPParsers(void) {
AppLayerRegisterProto("http", ALPROTO_HTTP, STREAM_TOSERVER, HTTPParseRequest);
AppLayerRegisterProto("http", ALPROTO_HTTP, STREAM_TOCLIENT, HTTPParseResponse);
@ -418,7 +418,7 @@ static void HTTPStateFree(void *s) {
AppLayerRegisterParser("http.response.code", ALPROTO_HTTP, HTTP_FIELD_RESPONSE_CODE, HTTPParseResponseCode, "http.response_line");
AppLayerRegisterStateFuncs(ALPROTO_HTTP, HTTPStateAlloc, HTTPStateFree);
}*/
}
void HTTPAtExitPrintStats(void) {
#ifdef DEBUG

Loading…
Cancel
Save