mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 04:34:15 +00:00
make callback stuff work on mod_perl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8247 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
be276e0cfe
commit
2b5f3563a2
7 files changed
+38
-99
No files matched your search
@@ -632,6 +632,7 @@ SWITCH_DECLARE(switch_status_t) switch_event_add_body(switch_event_t *event, con
|
||||
if (ret == -1) {
|
||||
return SWITCH_STATUS_GENERR;
|
||||
} else {
|
||||
switch_safe_free(event->body);
|
||||
event->body = data;
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user