[Freeswitch-svn] [commit] r11766 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/nta
FreeSWITCH SVN
mikej at freeswitch.org
Wed Feb 11 08:04:30 PST 2009
Author: mikej
Date: Wed Feb 11 10:04:30 2009
New Revision: 11766
Log:
Fri Dec 19 08:38:53 CST 2008 Pekka Pessi <first.last at nokia.com>
* nta.c: be consistent with maxsize and max_proceeding types
Original patch by Mike Jerris
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c
Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update (original)
+++ freeswitch/trunk/libs/sofia-sip/.update Wed Feb 11 10:04:30 2009
@@ -1 +1 @@
-Tue Jan 27 15:54:10 MST 2009
+Wed Feb 11 10:03:28 CST 2009
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 Wed Feb 11 10:04:30 2009
@@ -167,8 +167,8 @@
url_t *sa_default_proxy; /**< Default outbound proxy */
unsigned sa_bad_req_mask; /**< Request error mask */
unsigned sa_bad_resp_mask; /**< Response error mask */
- size_t sa_maxsize; /**< Maximum size of incoming messages */
- size_t sa_max_proceeding; /**< Maximum size of proceeding queue */
+ usize_t sa_maxsize; /**< Maximum size of incoming messages */
+ usize_t sa_max_proceeding; /**< Maximum size of proceeding queue */
unsigned sa_udp_mtu; /**< Maximum size of outgoing UDP requests */
@@ -1593,7 +1593,7 @@
if (maxsize > UINT32_MAX) maxsize = UINT32_MAX;
agent->sa_maxsize = maxsize;
- if (max_proceeding == 0) max_proceeding = UINT32_MAX;
+ if (max_proceeding == 0) max_proceeding = USIZE_MAX;
agent->sa_max_proceeding = max_proceeding;
if (max_forwards == 0) max_forwards = 70; /* Default value */
More information about the Freeswitch-svn
mailing list