]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Remove duplicate debug level and a few stray tabs
authorStefan Knoblich <stkn@freeswitch.org>
Tue, 31 Mar 2009 22:20:39 +0000 (22:20 +0000)
committerStefan Knoblich <stkn@freeswitch.org>
Tue, 31 Mar 2009 22:20:39 +0000 (22:20 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@704 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/src/ozmod/ozmod_libpri/ozmod_libpri.c

index f2352b921d33757eca305619011da90571537e10..7985d869c6ab39eecc7b04b34583bebf3d366cdd 100644 (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;
        }