[Freeswitch-svn] [commit] r5483 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Thu Jun 28 10:47:58 EDT 2007
Author: anthm
Date: Thu Jun 28 10:47:58 2007
New Revision: 5483
Modified:
freeswitch/trunk/src/switch_loadable_module.c
Log:
update
Modified: freeswitch/trunk/src/switch_loadable_module.c
==============================================================================
--- freeswitch/trunk/src/switch_loadable_module.c (original)
+++ freeswitch/trunk/src/switch_loadable_module.c Thu Jun 28 10:47:58 2007
@@ -1226,6 +1226,8 @@
last = name = next = cur = buf;
for (;;) {
+
+
if (!next) {
break;
}
@@ -1233,10 +1235,11 @@
*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);
}
}
More information about the Freeswitch-svn
mailing list