]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add trailing newlines for lazy parsers
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 2 Jul 2012 16:04:10 +0000 (11:04 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 2 Jul 2012 16:04:10 +0000 (11:04 -0500)
src/mod/applications/mod_spandsp/mod_spandsp_dsp.c

index b01a4638a3c3246ea0530a661f89c1d9e2dd0637..bec0172deaf1dac06ac53fe02d38383a39beb603 100644 (file)
@@ -121,7 +121,7 @@ static void put_text_msg(void *user_data, const uint8_t *msg, int len)
         switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "proto", "tdd");
         switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "subject", "TDD MESSAGE");
         switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Unique-ID", switch_core_session_get_uuid(pvt->session));
-        switch_event_add_body(event, "%s", (char *)msg);
+        switch_event_add_body(event, "%s\n\n", (char *)msg);
 
         if (switch_core_session_get_partner(pvt->session, &other_session) == SWITCH_STATUS_SUCCESS) {