提交 0454c7c9 authored 作者: Stefan Knoblich's avatar Stefan Knoblich

Remove duplicate debug level and a few stray tabs

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@704 a93c3328-9c30-0410-af19-c9cd2b2d52af
上级 39120145
......@@ -94,11 +94,11 @@ static uint32_t parse_opts(const char *in)
static int parse_debug(const char *in)
{
int flags = 0;
if (!in) {
return 0;
}
if (strstr(in, "q921_raw")) {
flags |= PRI_DEBUG_Q921_RAW;
}
......@@ -118,7 +118,7 @@ static int parse_debug(const char *in)
if (strstr(in, "q931_dump")) {
flags |= PRI_DEBUG_Q931_DUMP;
}
if (strstr(in, "q931_state")) {
flags |= PRI_DEBUG_Q931_STATE;
}
......@@ -127,10 +127,6 @@ static int parse_debug(const char *in)
flags |= PRI_DEBUG_Q931_ANOMALY;
}
if (strstr(in, "q931_anomaly")) {
flags |= PRI_DEBUG_Q931_ANOMALY;
}
if (strstr(in, "apdu")) {
flags |= PRI_DEBUG_APDU;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论