From 212284c792c86fca52e0172a4d097abc5bb45252 Mon Sep 17 00:00:00 2001 From: grunfink Date: Mon, 13 Oct 2025 13:07:06 +0200 Subject: xs_http.h: new file. --- activitypub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activitypub.c') 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)); } -- cgit v1.2.3