]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 28 Jun 2007 14:47:58 +0000 (14:47 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 28 Jun 2007 14:47:58 +0000 (14:47 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5483 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_loadable_module.c

index b46a68a1c1b925346a86952a6236b071a6e346c8..11d69357a0bb1528d4b0a18313be106995855157 100644 (file)
@@ -1226,6 +1226,8 @@ SWITCH_DECLARE(int) switch_loadable_module_get_codecs_sorted(const switch_codec_
                last = name = next = cur = buf;
 
                for (;;) {
+
+
                        if (!next) {
                                break;
                        }
@@ -1233,10 +1235,11 @@ SWITCH_DECLARE(int) switch_loadable_module_get_codecs_sorted(const switch_codec_
                                *p++ = '\0';
                        }
                        next = p;
+
                        if (cur != name) {
                                if (strchr(cur, 'i')) {
                                        interval = atoi(cur);
-                               } else if (strchr(cur, 'k' || strchr(cur, 'h'))) {
+                               } else if ((strchr(cur, 'k') || strchr(cur, 'h'))) {
                                        rate = atoi(cur);
                                }
                        }