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
This commit is contained in:
Stefan Knoblich 2009-03-31 22:20:39 +00:00
parent f27c8cc079
commit fe485675cd
1 changed files with 3 additions and 7 deletions

View File

@ -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;
}