summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2022-09-23 17:40:59 +0200
committerGravatar default2022-09-23 17:40:59 +0200
commit11134e58a3db29fd09497c20943d1ee7605623b1 (patch)
treedc5389126178d4a05066c562032a9dd8fe422ee5 /httpd.c
parentwebfinger_request() returns the status. (diff)
downloadsnac2-11134e58a3db29fd09497c20943d1ee7605623b1.tar.gz
snac2-11134e58a3db29fd09497c20943d1ee7605623b1.tar.xz
snac2-11134e58a3db29fd09497c20943d1ee7605623b1.zip
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)
126 server_get_handler(req, q_path, &status, &body, &b_size, &ctype); 126 server_get_handler(req, q_path, &status, &body, &b_size, &ctype);
127 127
128 if (status == 0) 128 if (status == 0)
129 webfinger_get_handler(req, q_path, &status, &body, &b_size, &ctype); 129 status = webfinger_get_handler(req, q_path, &body, &b_size, &ctype);
130 } 130 }
131 else 131 else
132 if (strcmp(method, "POST") == 0) { 132 if (strcmp(method, "POST") == 0) {