aboutsummaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-10-13 13:07:06 +0200
committergrunfink <grunfink@comam.es>2025-10-13 13:07:06 +0200
commit212284c792c86fca52e0172a4d097abc5bb45252 (patch)
tree4fe9ebc3859eec9edb46388a606cb6d54898c64a /activitypub.c
parent4f0b97ecf6ee157c56aa4fba781a8b6b5ea36174 (diff)
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 @@
#include "xs_match.h"
#include "xs_unicode.h"
#include "xs_webmention.h"
+#include "xs_http.h"
#include "snac.h"
@@ -3210,7 +3211,7 @@ int process_user_queue(snac *snac)
xs_str *str_status(int status)
{
- return xs_fmt("%d %s", status, status < 0 ? xs_curl_strerr(status) : http_status_text(status));
+ return xs_fmt("%d %s", status, status < 0 ? xs_curl_strerr(status) : xs_http_status_text(status));
}