From 11134e58a3db29fd09497c20943d1ee7605623b1 Mon Sep 17 00:00:00 2001 From: default Date: Fri, 23 Sep 2022 17:40:59 +0200 Subject: webfinger_get_handler() returns the status. --- httpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httpd.c') diff --git a/httpd.c b/httpd.c index bd3e44c..a56ce2a 100644 --- a/httpd.c +++ b/httpd.c @@ -126,7 +126,7 @@ void httpd_connection(int rs) server_get_handler(req, q_path, &status, &body, &b_size, &ctype); if (status == 0) - webfinger_get_handler(req, q_path, &status, &body, &b_size, &ctype); + status = webfinger_get_handler(req, q_path, &body, &b_size, &ctype); } else if (strcmp(method, "POST") == 0) { -- cgit v1.2.3