From e9d32f901ac86986943cac3b391442ae5bce883f Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 14 Feb 2014 14:00:18 +0000 Subject: [PATCH] Make status-interval of zero work as indented. --- server-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-client.c b/server-client.c index 5326f256..c2903a0d 100644 --- a/server-client.c +++ b/server-client.c @@ -280,7 +280,7 @@ server_client_status_timer(void) interval = options_get_number(&s->options, "status-interval"); difference = tv.tv_sec - c->status_timer.tv_sec; - if (difference >= interval) { + if (interval != 0 && difference >= interval) { status_update_jobs(c); c->flags |= CLIENT_STATUS; }