* requests are put.
*/
notify_list * notify = NULL;
+int re_notify = 0;
/*
* Jump-off function.
for (;;) {
if (svc_stop)
return;
+ if (re_notify) {
+ notify_hosts();
+ re_notify = 0;
+ }
/* Ah, there are some notifications to be processed */
while (notify && NL_WHEN(notify) <= time(&now)) {