[Freeswitch-svn] [commit] r10250 -	freeswitch/trunk/src/mod/endpoints/mod_sofia
    Freeswitch SVN 
    brian at freeswitch.org
       
    Wed Nov  5 10:55:54 EST 2008
    
    
  
Author: brian
Date: Wed Nov  5 10:55:53 2008
New Revision: 10250
Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c
Log:
 move this to profile debug its harmless mostly
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c	Wed Nov  5 10:55:53 2008
@@ -1152,7 +1152,9 @@
 	}
 	
 	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;
 	}
 
    
    
More information about the Freeswitch-svn
mailing list