]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix reversed arguements in mod_rtmp caught by gcc 4.6.2
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 23 Feb 2012 00:30:01 +0000 (18:30 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 23 Feb 2012 00:30:01 +0000 (18:30 -0600)
src/mod/endpoints/mod_rtmp/mod_rtmp.c

index 9d2039e37e18e94f0a8f2216ee47336507c57975..5dd5b4adfd95170fc5ff6a8ad14e0baa90bd4f6c 100644 (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;
        }