]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4380 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 3 Jul 2012 16:06:12 +0000 (11:06 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 3 Jul 2012 16:06:12 +0000 (11:06 -0500)
src/mod/applications/mod_sms/mod_sms.c

index ee13481c0382f73abf16b8f6946bdc3151e46a00..8b747cb015696a6bb0e838d0e93cb2324bcb109d 100644 (file)
@@ -262,7 +262,7 @@ static int parse_exten(switch_event_t *event, switch_xml_t xexten, switch_event_
                                        if (xinline) {
                                                switch_core_execute_chat_app(event, application, app_data);
                                        } else {
-                                               switch_event_add_header_string(*extension, SWITCH_STACK_BOTTOM, application, zstr(data) ? "__undef" : data);
+                                               switch_event_add_header_string(*extension, SWITCH_STACK_BOTTOM, application, zstr(app_data) ? "__undef" : app_data);
                                        }
                                }
                                switch_safe_free(substituted);