Fix compilation failure when we don't enable unittests. Got to #ifdef

ALPROTO_TEST.
pull/567/head
Anoop Saldanha 12 years ago
parent d76a5bedbc
commit 3ec411486e

@ -86,7 +86,9 @@ const char *TmModuleAlprotoToString(enum AppProto proto)
proto_name = "dns";
break;
case ALPROTO_FAILED:
#ifdef UNITTESTS
case ALPROTO_TEST:
#endif
case ALPROTO_MAX:
case ALPROTO_UNKNOWN:
break;

Loading…
Cancel
Save