fix reversed arguements in mod_rtmp caught by gcc 4.6.2

This commit is contained in:
Anthony Minessale 2012-02-22 18:30:01 -06:00
parent 3505cb47e3
commit 55faab9d7b
1 changed files with 1 additions and 1 deletions

View File

@ -843,7 +843,7 @@ switch_call_cause_t rtmp_session_create_call(rtmp_session_t *rsession, switch_co
switch_channel_t *channel;
const char *dialplan, *context;
if (!(*newsession = switch_core_session_request(rtmp_globals.rtmp_endpoint_interface, SOF_NONE, SWITCH_CALL_DIRECTION_INBOUND, NULL))) {
if (!(*newsession = switch_core_session_request(rtmp_globals.rtmp_endpoint_interface, SWITCH_CALL_DIRECTION_INBOUND, SOF_NONE, NULL))) {
return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
}