[Freeswitch-svn] [commit] r11942 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/tport
FreeSWITCH SVN
mikej at freeswitch.org
Thu Feb 12 13:08:29 PST 2009
Author: mikej
Date: Thu Feb 12 15:08:29 2009
New Revision: 11942
Log:
Wed Feb 11 15:01:08 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
* tport.c: fixed tport_queuelen() when queue is full
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport.c
Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update (original)
+++ freeswitch/trunk/libs/sofia-sip/.update Thu Feb 12 15:08:29 2009
@@ -1 +1 @@
-Thu Feb 12 15:07:42 CST 2009
+Thu Feb 12 15:08:17 CST 2009
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport.c Thu Feb 12 15:08:29 2009
@@ -3734,7 +3734,7 @@
if (self && self->tp_queue) {
unsigned short i, N = self->tp_params->tpp_qsize;
- for (i = self->tp_qhead; self->tp_queue[i]; i = (i + 1) % N)
+ for (i = self->tp_qhead; self->tp_queue[i] && retval < N; i = (i + 1) % N)
retval++;
}
More information about the Freeswitch-svn
mailing list