if (AppLayerProtoDetectPMRegisterPatternCS(IPPROTO_TCP, ALPROTO_IMAP,
"1|20|capability", 12, 0, STREAM_TOSERVER) < 0)
{
- SCLogInfo("imap proto registration failure\n");
+ SCLogInfo("imap proto registration failure");
exit(EXIT_FAILURE);
}
} else {
if (AppLayerProtoDetectPMRegisterPatternCS(IPPROTO_TCP, ALPROTO_MSN,
"msn", 10, 6, STREAM_TOSERVER) < 0)
{
- SCLogInfo("msn proto registration failure\n");
+ SCLogInfo("msn proto registration failure");
exit(EXIT_FAILURE);
}
} else {
{
SCEnter();
-
if (alp_ctx.ctxs[FlowGetProtoMapping(ipproto)][alproto].Truncate != NULL)
alp_ctx.ctxs[FlowGetProtoMapping(ipproto)][alproto].Truncate(alstate, direction);