[Freeswitch-svn] [commit] r11623 - freeswitch/trunk/src/mod/applications/mod_lcr
FreeSWITCH SVN
rupa at freeswitch.org
Tue Feb 3 14:19:31 PST 2009
Author: rupa
Date: Tue Feb 3 16:19:31 2009
New Revision: 11623
Log:
make MikeJ happy - switch_assert argv[0] != NULL
Modified:
freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c
Modified: freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c Tue Feb 3 16:19:31 2009
@@ -663,6 +663,7 @@
mydata = switch_core_strdup(pool, cmd);
if ((argc = switch_separate_string(mydata, ' ', argv, (sizeof(argv) / sizeof(argv[0]))))) {
+ switch_assert(argv[0] != NULL);
destination_number = switch_core_strdup(pool, argv[0]);
if(argc > 1) {
lcr_profile = argv[1];
More information about the Freeswitch-svn
mailing list