diff options
| author | 2023-04-08 07:04:40 +0200 | |
|---|---|---|
| committer | 2023-04-08 07:04:40 +0200 | |
| commit | eba6987fd55c2cc94393c61e6bbd86514e14993b (patch) | |
| tree | 0d1b2112e57bae091bc2bee8d3c77fcbd9d2319a /httpd.c | |
| parent | New file mastoapi.c. (diff) | |
| download | snac2-eba6987fd55c2cc94393c61e6bbd86514e14993b.tar.gz snac2-eba6987fd55c2cc94393c61e6bbd86514e14993b.tar.xz snac2-eba6987fd55c2cc94393c61e6bbd86514e14993b.zip | |
Added some OAuth scaffold code.
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -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 = oauth_post_handler(req, q_path, | ||
| 190 | payload, p_size, &body, &b_size, &ctype); | ||
| 191 | |||
| 192 | if (status == 0) | ||
| 189 | status = mastoapi_post_handler(req, q_path, | 193 | status = mastoapi_post_handler(req, q_path, |
| 190 | payload, p_size, &body, &b_size, &ctype); | 194 | payload, p_size, &body, &b_size, &ctype); |
| 191 | 195 | ||