From 9a78f86f773cbf34e29ec51fc06e3f04072c88d0 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 2 Mar 2008 01:25:00 +0000 Subject: - Support failover between multiple agents - Support table queries - Major refactoring of internals. --- common/server-mainloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/server-mainloop.c') diff --git a/common/server-mainloop.c b/common/server-mainloop.c index d569d61..c6d2018 100644 --- a/common/server-mainloop.c +++ b/common/server-mainloop.c @@ -138,7 +138,7 @@ add_timer(int ms, int oneshot, server_timer_callback callback, void* arg) struct timeval interval; timer_callback* cb; - ASSERT(ms > 0); + ASSERT (ms || oneshot); ASSERT(callback != NULL); interval.tv_sec = ms / 1000; -- cgit v1.2.3