]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
split on space not colon
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 6 Sep 2011 18:56:44 +0000 (13:56 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 6 Sep 2011 18:56:44 +0000 (13:56 -0500)
src/switch_ivr.c

index 22731c1968fc85c16246a852343a4f8bd80adb61..56397ede5c09f004a200db839d1c94190a4dac51 100644 (file)
@@ -639,7 +639,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_event(switch_core_session_t *se
                        
                        if (!strcasecmp(hp->name, "application")) {
                                app = strdup(hp->value);
-                               data = strchr(app, ':');
+                               data = strchr(app, ' ');
                        
                                if (data) {
                                        *data++ = '\0';