From d275a3480200c6ba48ad2dbd6984cae2a33959ba Mon Sep 17 00:00:00 2001 From: Jeremy Lakeman Date: Mon, 14 Jul 2014 15:28:30 +0930 Subject: [PATCH] Don't just straight to LIST_END when there's an end time in the future --- meshms_restful.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshms_restful.c b/meshms_restful.c index 359f0b54..07c60e44 100644 --- a/meshms_restful.c +++ b/meshms_restful.c @@ -386,7 +386,7 @@ static int restful_meshms_messagelist_json_content_chunk(struct http_request *hr } strbuf_puts(b, "],\n\"rows\":["); if (!strbuf_overrun(b)) - r->u.msglist.phase = r->u.msglist.finished ? LIST_END : LIST_ROWS; + r->u.msglist.phase = LIST_ROWS; return 1; case LIST_ROWS: {