[project @ 2005-05-17 23:25:32 by rjw]

Don't allow things to be scheduled twice.

svn path=/import/netsurf/; revision=1725
This commit is contained in:
Richard Wilson 2005-05-17 23:25:32 +00:00
parent 642a3d62f2
commit 9702484306

View File

@ -55,6 +55,8 @@ void schedule(int t, void (*callback)(void *p), void *p)
struct sched_entry *entry;
struct sched_entry *queue;
os_t time;
schedule_remove(callback, p);
time = os_read_monotonic_time() + t;