From: Stefan Knoblich Date: Tue, 31 Mar 2009 22:20:39 +0000 (+0000) Subject: Remove duplicate debug level and a few stray tabs X-Git-Tag: v1.0.6~38^2~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0454c7c91728b6689e6d087bb8d02b4309c8e8a7;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/libs/openzap/src/ozmod/ozmod_libpri/ozmod_libpri.c b/libs/openzap/src/ozmod/ozmod_libpri/ozmod_libpri.c index f2352b921d..7985d869c6 100644 --- a/libs/openzap/src/ozmod/ozmod_libpri/ozmod_libpri.c +++ b/libs/openzap/src/ozmod/ozmod_libpri/ozmod_libpri.c @@ -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; }