Crash fix.

This commit is contained in:
Jan Vidar Krey committed 2010-01-18 19:38:07 +01:00
1 parent 7dfa3162cb
commit 001fa6739a
1 file changed
+3
+3
View File
@@ -98,6 +98,9 @@ void timeout_queue_remove(struct timeout_queue* t, struct timeout_evt* evt)
size_t pos = (evt->timestamp % t->max);
struct timeout_evt* first = t->events[pos];
if (!first)
return;
if (first == evt)
{
if (first->next)