[Freeswitch-svn] [commit] r10680 - freeswitch/trunk/src/mod/endpoints/mod_sofia
FreeSWITCH SVN
mikej at freeswitch.org
Tue Dec 9 08:39:56 PST 2008
Author: mikej
Date: Tue Dec 9 11:39:56 2008
New Revision: 10680
Log:
C&P fail
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Tue Dec 9 11:39:56 2008
@@ -3498,7 +3498,7 @@
int tmp;
/* move signal_ptr where we need it (right past Signal=) */
signal_ptr = signal_ptr + 7;
- if (*strlen && strlen(signal_ptr) == 1 && is_dtmf(*signal_ptr)) {
+ if (*signal_ptr && strlen(signal_ptr) == 1 && is_dtmf(*signal_ptr)) {
dtmf.digit = *signal_ptr;
} else {
tmp = atoi(signal_ptr);
More information about the Freeswitch-svn
mailing list