mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-18 20:57:56 +00:00
Don't just straight to LIST_END when there's an end time in the future
This commit is contained in:
parent
eaf069e1c3
commit
d275a34802
@ -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:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user