summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar grunfink2025-10-13 13:07:06 +0200
committerGravatar grunfink2025-10-13 13:07:06 +0200
commit212284c792c86fca52e0172a4d097abc5bb45252 (patch)
tree4fe9ebc3859eec9edb46388a606cb6d54898c64a /activitypub.c
parentUpdated RELEASE_NOTES. (diff)
downloadsnac2-212284c792c86fca52e0172a4d097abc5bb45252.tar.gz
snac2-212284c792c86fca52e0172a4d097abc5bb45252.tar.xz
snac2-212284c792c86fca52e0172a4d097abc5bb45252.zip
xs_http.h: new file.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c3
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
3211xs_str *str_status(int status) 3212xs_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