[Freeswitch-svn] [commit] r11850 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/su
FreeSWITCH SVN
mikej at freeswitch.org
Wed Feb 11 09:15:37 PST 2009
Author: mikej
Date: Wed Feb 11 11:15:37 2009
New Revision: 11850
Log:
Wed Jan 28 12:01:13 CST 2009 Pekka Pessi <first.last at nokia.com>
* su_timer.c: timers_remove() now set sut_heap_index to 0
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_timer.c
Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update (original)
+++ freeswitch/trunk/libs/sofia-sip/.update Wed Feb 11 11:15:37 2009
@@ -1 +1 @@
-Wed Feb 11 11:14:50 CST 2009
+Wed Feb 11 11:15:31 CST 2009
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_timer.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_timer.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/su_timer.c Wed Feb 11 11:15:37 2009
@@ -225,7 +225,7 @@
return -1;
if (SU_TIMER_IS_SET(t))
- timers_remove(timers[0], t->sut_heap_index)->sut_heap_index = 0;
+ timers_remove(timers[0], t->sut_heap_index);
t->sut_wakeup = wakeup;
t->sut_arg = arg;
@@ -481,7 +481,7 @@
return -1;
if (SU_TIMER_IS_SET(t))
- timers_remove(timers[0], t->sut_heap_index)->sut_heap_index = 0;
+ timers_remove(timers[0], t->sut_heap_index);
t->sut_wakeup = NULL;
t->sut_arg = NULL;
@@ -526,7 +526,7 @@
break;
}
- timers_remove(timers[0], 1)->sut_heap_index = 0;
+ timers_remove(timers[0], 1);
f = t->sut_wakeup; t->sut_wakeup = NULL;
assert(f);
@@ -609,7 +609,7 @@
if (su_task_cmp(task, t->sut_task))
continue;
- timers_remove(timers[0], i)->sut_heap_index = 0;
+ timers_remove(timers[0], i);
su_free(NULL, t);
n++;
More information about the Freeswitch-svn
mailing list