diff --git a/src/net/listen.c b/src/net/listen.c index c8e4cc54fff883636d16f365e69ff93474035ddf..11a8561a1e5e4f97d8a4c77ceaeaf94d3b1494db 100644 --- a/src/net/listen.c +++ b/src/net/listen.c @@ -877,7 +877,9 @@ redo: srv->update_current++; if (srv->update_current >= srv->update_total) (LOG_WARN("EVENT", "Force updating state because tikcs exceded the update count"), - srv->is_updating = 0); + srv->is_updating = 0, + srv->update_total = 0, + srv->update_current = 0); }) /* The null event / ignored events, just return / continue */