chibipub

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit df86c99ff884fe936de2b83d05b44b1f5aa78856
parent 732975f694b2a552fc986a4818d48acade043943
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 21 Dec 2020 08:11:03 -0800

remove unneeded arena cursor update

Diffstat:
Msrc/wolfsocks.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/wolfsocks.c b/src/wolfsocks.c @@ -143,7 +143,6 @@ static int handle_inbox_request(struct http_req *req, struct cursor *arena) note_error(&req->errs, "json parse failed"); return 0; } - copy_cursor(&push.cur, arena); if (!(out = fopen("activities.json", "a"))) { note_error(&req->errs, "could not open activities.json"); @@ -155,7 +154,6 @@ static int handle_inbox_request(struct http_req *req, struct cursor *arena) fclose(out); write_resp_header(req, "200 OK"); - return 1; }