svn commit: samba r5273 - in branches/SAMBA_4_0/source/lib/events: .
tridge at samba.org
tridge at samba.org
Tue Feb 8 01:01:23 GMT 2005
Author: tridge
Date: 2005-02-08 01:01:22 +0000 (Tue, 08 Feb 2005)
New Revision: 5273
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5273
Log:
fixed another bug in the code that keeps timed events
sorted. Hopefully it really works now :-)
Modified:
branches/SAMBA_4_0/source/lib/events/events.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/events/events.c
===================================================================
--- branches/SAMBA_4_0/source/lib/events/events.c 2005-02-07 22:42:43 UTC (rev 5272)
+++ branches/SAMBA_4_0/source/lib/events/events.c 2005-02-08 01:01:22 UTC (rev 5273)
@@ -317,8 +317,8 @@
DLIST_ADD(ev->timed_events, e);
} else {
for (te=ev->timed_events;te && te->next;te=te->next) {
- if (!timeval_is_zero(&te->next_event) &&
- timeval_compare(&te->next_event, &e->next_event) < 0) {
+ if (!timeval_is_zero(&te->next->next_event) &&
+ timeval_compare(&te->next->next_event, &e->next_event) < 0) {
break;
}
}
More information about the samba-cvs
mailing list