page.c: Return HTTP_STATUS_OK on successful page_search

This was probably a copy-paste issue when implementing page_search based
on page_quota_exceeded.
This commit is contained in:
Xavier Del Campo Romero 2023-07-08 00:52:53 +02:00
parent 960a35a02f
commit 8bff49d9c8
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 1 additions and 1 deletions

2
page.c
View File

@ -1760,7 +1760,7 @@ int page_search(struct http_response *const r,
*r = (const struct http_response)
{
.status = HTTP_STATUS_PAYLOAD_TOO_LARGE,
.status = HTTP_STATUS_OK,
.buf.rw = out.str,
.n = out.len,
.free = free