summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-27 22:28:49 +0000
committerMartin Mares <mj@ucw.cz>2000-04-27 22:28:49 +0000
commit8f6accb5bb26d534576e086894c107387f67906a (patch)
treeb7c02cbdaca870a6f86e0110d2b1d270f5c89d77 /conf
parent987de54578ce4053d737c64ea924a32f46a441a7 (diff)
Event handlers no longer return re-queue flag. Instead of using it, just
call ev_schedule() on the same handler which should work perfectly now.
Diffstat (limited to 'conf')
-rw-r--r--conf/conf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/conf/conf.c b/conf/conf.c
index a4e03635..323655d3 100644
--- a/conf/conf.c
+++ b/conf/conf.c
@@ -144,7 +144,7 @@ config_do_commit(struct config *c)
return !nobs;
}
-static int
+static void
config_done(void *unused)
{
struct config *c;
@@ -168,7 +168,6 @@ config_done(void *unused)
if (!config_do_commit(c))
break;
}
- return 0;
}
int