From: Rupa Schomaker Date: Tue, 3 Feb 2009 22:19:31 +0000 (+0000) Subject: make MikeJ happy - switch_assert argv[0] != NULL X-Git-Tag: v1.0.3~467 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d0d61c7ff72b9ffdddead6859127840fd170883;p=thirdparty%2Ffreeswitch.git make MikeJ happy - switch_assert argv[0] != NULL git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11623 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_lcr/mod_lcr.c b/src/mod/applications/mod_lcr/mod_lcr.c index 83296cdbe5..734665d05d 100644 --- a/src/mod/applications/mod_lcr/mod_lcr.c +++ b/src/mod/applications/mod_lcr/mod_lcr.c @@ -663,6 +663,7 @@ SWITCH_STANDARD_API(dialplan_lcr_function) 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];