misc fixes

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10582 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2008-12-03 20:10:54 +00:00
1 parent f6593b6e68
commit 1efc7bf649
2 files changed
+2 -2

No files matched your search

@@ -199,7 +199,7 @@ static switch_status_t my_on_hangup(switch_core_session_t *session)
if (globals.debug) {
switch_event_t *event;
if (switch_event_create(&event, SWITCH_EVENT_COMMAND) == SWITCH_STATUS_SUCCESS) {
if (switch_event_create(&event, SWITCH_EVENT_CHANNEL_DATA) == SWITCH_STATUS_SUCCESS) {
char *buf;
switch_channel_event_set_data(channel, event);
switch_event_serialize(event, &buf, SWITCH_FALSE);