mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[timer] delay can be 0 for curl
This commit is contained in:
parent
48230a79e4
commit
aa2becc3b0
@ -156,7 +156,7 @@ install_timer(timer_id_T *id, milliseconds_T delay, void (*func)(void *), void *
|
||||
{
|
||||
struct timer *new_timer, *timer;
|
||||
|
||||
assert(id && delay > 0);
|
||||
assert(id && delay >= 0);
|
||||
|
||||
#ifdef USE_LIBEVENT
|
||||
char *q = (char *)mem_alloc(sizeof_struct_event + sizeof(struct timer));
|
||||
|
Loading…
Reference in New Issue
Block a user