diff options
| author | 2025-10-13 13:07:06 +0200 | |
|---|---|---|
| committer | 2025-10-13 13:07:06 +0200 | |
| commit | 212284c792c86fca52e0172a4d097abc5bb45252 (patch) | |
| tree | 4fe9ebc3859eec9edb46388a606cb6d54898c64a /activitypub.c | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | snac2-212284c792c86fca52e0172a4d097abc5bb45252.tar.gz snac2-212284c792c86fca52e0172a4d097abc5bb45252.tar.xz snac2-212284c792c86fca52e0172a4d097abc5bb45252.zip | |
xs_http.h: new file.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index c433788..f19c6fc 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | #include "xs_match.h" | 12 | #include "xs_match.h" |
| 13 | #include "xs_unicode.h" | 13 | #include "xs_unicode.h" |
| 14 | #include "xs_webmention.h" | 14 | #include "xs_webmention.h" |
| 15 | #include "xs_http.h" | ||
| 15 | 16 | ||
| 16 | #include "snac.h" | 17 | #include "snac.h" |
| 17 | 18 | ||
| @@ -3210,7 +3211,7 @@ int process_user_queue(snac *snac) | |||
| 3210 | 3211 | ||
| 3211 | xs_str *str_status(int status) | 3212 | xs_str *str_status(int status) |
| 3212 | { | 3213 | { |
| 3213 | return xs_fmt("%d %s", status, status < 0 ? xs_curl_strerr(status) : http_status_text(status)); | 3214 | return xs_fmt("%d %s", status, status < 0 ? xs_curl_strerr(status) : xs_http_status_text(status)); |
| 3214 | } | 3215 | } |
| 3215 | 3216 | ||
| 3216 | 3217 | ||