[Freeswitch-svn] [commit] r10877 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/nta libsofia-sip-ua/tport

FreeSWITCH SVN mikej at freeswitch.org
Thu Dec 18 15:24:19 PST 2008


Author: mikej
Date: Thu Dec 18 18:24:19 2008
New Revision: 10877

Log:
SFSIP-112 sofia does not compile w/ gcc 4.3 x86 w/ -Werror

Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Thu Dec 18 18:24:19 2008
@@ -1 +1 @@
-Tue Dec 16 15:42:18 CST 2008
+Thur Dec 18 17:23:18 CST 2008

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c	Thu Dec 18 18:24:19 2008
@@ -1593,7 +1593,7 @@
   if (maxsize > UINT32_MAX) maxsize = UINT32_MAX;
   agent->sa_maxsize = maxsize;
 
-  if (max_proceeding == 0) max_proceeding = SIZE_MAX;
+  if (max_proceeding == 0) max_proceeding = UINT32_MAX;
   agent->sa_max_proceeding = max_proceeding;
 
   if (max_forwards == 0) max_forwards = 70; /* Default value */

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c	Thu Dec 18 18:24:19 2008
@@ -232,7 +232,7 @@
     n += iov[i].mv_len;
 
   tport_stamp(self, msg, stamp, what, n, via, now);
-  su_log(stamp);
+  su_log("%s", stamp);
   su_log("   " MSG_SEPARATOR);
 
   for (i = 0; truncated == 0 && i < iovlen && i < 80; i++) {



More information about the Freeswitch-svn mailing list