summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2023-04-08 06:09:05 +0200
committerGravatar default2023-04-08 06:09:05 +0200
commit353e393f4de68a209f2d454ca62516e180a3f54a (patch)
tree39c03f8abc377244aa06dc11d18d80b374f224a6 /httpd.c
parentUpdated RELEASE_NOTES. (diff)
downloadsnac2-353e393f4de68a209f2d454ca62516e180a3f54a.tar.gz
snac2-353e393f4de68a209f2d454ca62516e180a3f54a.tar.xz
snac2-353e393f4de68a209f2d454ca62516e180a3f54a.zip
New file mastoapi.c.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index ec7a79f..183e194 100644
--- a/httpd.c
+++ b/httpd.c
@@ -186,6 +186,10 @@ void httpd_connection(FILE *f)
186 payload, p_size, &body, &b_size, &ctype); 186 payload, p_size, &body, &b_size, &ctype);
187 187
188 if (status == 0) 188 if (status == 0)
189 status = mastoapi_post_handler(req, q_path,
190 payload, p_size, &body, &b_size, &ctype);
191
192 if (status == 0)
189 status = html_post_handler(req, q_path, 193 status = html_post_handler(req, q_path,
190 payload, p_size, &body, &b_size, &ctype); 194 payload, p_size, &body, &b_size, &ctype);
191 } 195 }