]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove log
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 18 Jun 2010 22:38:50 +0000 (17:38 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 18 Jun 2010 22:39:44 +0000 (17:39 -0500)
src/mod/endpoints/mod_sofia/sofia_presence.c

index 87294c1e62d06861ea3c62ffc0ad5bbad5c88626..af0d5cf413ba86d0d99e1eb603651b3b08780a39 100644 (file)
@@ -277,7 +277,7 @@ static void actual_sofia_presence_mwi_event_handler(switch_event_t *event)
        switch_stream_handle_t stream = { 0 };
        switch_event_header_t *hp;
        struct mwi_helper h = { 0 };
-       char *pname = NULL;
+       const char *pname = NULL;
        const char *call_id;
        const char *sub_call_id;
        int for_everyone = 0;
@@ -308,9 +308,7 @@ static void actual_sofia_presence_mwi_event_handler(switch_event_t *event)
 
 
        if ((pname = switch_event_get_header(event, "sofia-profile"))) {
-               if (!(profile = sofia_glue_find_profile(pname))) {
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "No profile %s\n", pname);
-               }
+               profile = sofia_glue_find_profile(pname);
        }
 
        if (!profile) {