summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-23 17:40:59 +0200
committerdefault <nobody@localhost>2022-09-23 17:40:59 +0200
commit11134e58a3db29fd09497c20943d1ee7605623b1 (patch)
treedc5389126178d4a05066c562032a9dd8fe422ee5 /httpd.c
parent40193b132007156bd5c44b576df1305ab2492771 (diff)
webfinger_get_handler() returns the status.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c2
1 files changed, 1 insertions, 1 deletions
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) {