[Freeswitch-svn] [commit] r3792 - freeswitch/trunk/src/mod/say/mod_say_en
Freeswitch SVN
mikej at freeswitch.org
Thu Dec 21 22:00:44 EST 2006
Author: mikej
Date: Thu Dec 21 22:00:43 2006
New Revision: 3792
Modified:
freeswitch/trunk/src/mod/say/mod_say_en/mod_say_en.c
Log:
fix var type and make sure all code paths return a value
Modified: freeswitch/trunk/src/mod/say/mod_say_en/mod_say_en.c
==============================================================================
--- freeswitch/trunk/src/mod/say/mod_say_en/mod_say_en.c (original)
+++ freeswitch/trunk/src/mod/say/mod_say_en/mod_say_en.c Thu Dec 21 22:00:43 2006
@@ -76,7 +76,7 @@
{
char *p = in, *q = out;
char *ret = out;
- int x = 0;
+ switch_size_t x = 0;
for(;p && *p; p++) {
if ((*p > 47 && *p < 58)) {
@@ -150,7 +150,7 @@
default:
break;
}
-
+ return SWITCH_STATUS_SUCCESS;
}
static switch_status_t en_say(switch_core_session_t *session,
More information about the Freeswitch-svn
mailing list