]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
typo
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 19 Dec 2012 02:40:00 +0000 (20:40 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 1 Apr 2013 02:27:13 +0000 (21:27 -0500)
src/include/switch_core_media.h
src/mod/endpoints/mod_sofia/sofia.c
src/mod/endpoints/mod_sofia/sofia_glue.c
src/switch_core_media.c

index b0374e0990bcdfa3a808588382e7c456da1555f3..e2ce4dd8194fec7069f170c640e7e6b804f8be7c 100644 (file)
@@ -54,7 +54,7 @@ SWITCH_DECLARE(void) switch_media_handle_set_ndlb(switch_media_handle_t *smh, sw
 SWITCH_DECLARE(void) switch_media_handle_clear_ndlb(switch_media_handle_t *smh, switch_core_media_NDLB_t flag);
 SWITCH_DECLARE(int32_t) switch_media_handle_test_ndlb(switch_media_handle_t *smh, switch_core_media_NDLB_t flag);
 SWITCH_DECLARE(void) switch_core_session_check_outgoing_crypto(switch_core_session_t *session, const char *sec_var);
-SWITCH_DECLARE(const char *) switch_core_sesson_local_crypto_key(switch_core_session_t *session, switch_media_type_t type);
+SWITCH_DECLARE(const char *) switch_core_session_local_crypto_key(switch_core_session_t *session, switch_media_type_t type);
 SWITCH_DECLARE(int) switch_core_session_check_incoming_crypto(switch_core_session_t *session, 
                                                                                                                          const char *varname,
                                                                                                                          switch_media_type_t type, const char *crypto, int crypto_tag);
index a0a998ccfa30e8cab73d887296b0ed2c15f90662..3b1fb25c8f02790eed760108fb4e17296a908174 100644 (file)
@@ -6188,7 +6188,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
 
                                if (is_ok) {
 
-                                       if (switch_core_sesson_local_crypto_key(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO)) {
+                                       if (switch_core_session_local_crypto_key(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO)) {
                                                sofia_glue_set_local_sdp(tech_pvt, NULL, 0, NULL, 0);
                                        }
                                        if (sofia_use_soa(tech_pvt)) {
index 7d57e6eb7f9eaf8dc06ee0d4d408249647f0c3ea..8db76a09a8a3c114272841e035fd152281222217 100644 (file)
@@ -186,7 +186,7 @@ static void generate_m(private_object_t *tech_pvt, char *buf, size_t buflen,
        int rate;
        int already_did[128] = { 0 };
        int ptime = 0, noptime = 0;
-       const char *local_audio_crypto_key = switch_core_sesson_local_crypto_key(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO);
+       const char *local_audio_crypto_key = switch_core_session_local_crypto_key(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO);
 
        switch_snprintf(buf + strlen(buf), buflen - strlen(buf), "m=audio %d RTP/%sAVP", 
                                        port, secure ? "S" : "");
@@ -396,7 +396,7 @@ void sofia_glue_set_local_sdp(private_object_t *tech_pvt, const char *ip, switch
        switch_event_t *map = NULL, *ptmap = NULL;
        const char *b_sdp = NULL;
        int verbose_sdp = 0;
-       const char *local_audio_crypto_key = switch_core_sesson_local_crypto_key(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO);
+       const char *local_audio_crypto_key = switch_core_session_local_crypto_key(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO);
 
        switch_zmalloc(buf, SDPBUFLEN);
        
index 61bed621a0f481aa076cb283cc22f97bd11c284a..81e16768c88e2c4ac6953eee0416bd7cd3ced299 100644 (file)
@@ -72,7 +72,7 @@ struct switch_media_handle_s {
 };
 
 
-SWITCH_DECLARE(const char *) switch_core_sesson_local_crypto_key(switch_core_session_t *session, switch_media_type_t type)
+SWITCH_DECLARE(const char *) switch_core_session_local_crypto_key(switch_core_session_t *session, switch_media_type_t type)
 {
        if (!session->media_handle) {
                return NULL;