]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
move this to profile debug its harmless mostly
authorBrian West <brian@freeswitch.org>
Wed, 5 Nov 2008 15:55:53 +0000 (15:55 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 5 Nov 2008 15:55:53 +0000 (15:55 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10250 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_presence.c

index bd3f2662f47244874dd40a4bea3c52c076b5dbab..0b6c14c5fea95f8649571815665b533638194778 100644 (file)
@@ -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;
        }