From: Brian West Date: Wed, 5 Nov 2008 15:55:53 +0000 (+0000) Subject: move this to profile debug its harmless mostly X-Git-Tag: v1.0.2~634 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=22c37c1a1a6564eaa588c7859f2cdff132f818bc;p=thirdparty%2Ffreeswitch.git move this to profile debug its harmless mostly git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10250 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index bd3f2662f4..0b6c14c5fe 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -1152,7 +1152,9 @@ static int sofia_presence_mwi_callback(void *pArg, int argc, char **argv, char * } if (!(nh = nua_handle_by_call_id(h->profile->nua, call_id))) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Cannot find handle for %s\n", call_id); + if (profile->debug) { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Cannot find handle for %s\n", call_id); + } goto end; }