[Freeswitch-svn] [commit] r8337 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/su

Freeswitch SVN mikej at freeswitch.org
Fri May 9 13:46:43 EDT 2008


Author: mikej
Date: Fri May  9 13:46:43 2008
New Revision: 8337

Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_log.c

Log:
Wed May  7 10:59:52 EDT 2008  Pekka Pessi <first.last at nokia.com>
  * su_log.c: allow multiple calls su_log_soft_set_level() to change logging level



Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Fri May  9 13:46:43 2008
@@ -1 +1 @@
-Fri May  9 13:45:02 EDT 2008
+Fri May  9 13:46:29 EDT 2008

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_log.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_log.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_log.c	Fri May  9 13:46:43 2008
@@ -240,11 +240,13 @@
 {
   if (log == NULL)
     log = su_log_default;
-  if (log->log_init > 1)
+  if (log->log_init == 1)
     return;
+
   if (log->log_env && getenv(log->log_env)) {
     su_log_init(log);
-  } else {
+  }
+  else {
     log->log_level = level;
     log->log_init = 2;
 



More information about the Freeswitch-svn mailing list