summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorGravatar iwojim02024-03-09 14:37:54 +0000
committerGravatar iwojim02024-03-09 14:37:54 +0000
commit7312f4ce51100d4ed98988cb3af0ab06e4fba53c (patch)
treeb9fe2c67d8d98605d5376bbad6ffe87ef29c1990 /http.c
parentReplaced all xs_dict_iter() with xs_dict_next(). (diff)
downloadpenes-snac2-7312f4ce51100d4ed98988cb3af0ab06e4fba53c.tar.gz
penes-snac2-7312f4ce51100d4ed98988cb3af0ab06e4fba53c.tar.xz
penes-snac2-7312f4ce51100d4ed98988cb3af0ab06e4fba53c.zip
Ability to federate with hidden networks #93 (update for v2.49)
Diffstat (limited to 'http.c')
-rw-r--r--http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/http.c b/http.c
index 1b3d590..f7ff9ba 100644
--- a/http.c
+++ b/http.c
@@ -32,7 +32,8 @@ xs_dict *http_signed_request_raw(const char *keyid, const char *seckey,
32 date = xs_str_utctime(0, "%a, %d %b %Y %H:%M:%S GMT"); 32 date = xs_str_utctime(0, "%a, %d %b %Y %H:%M:%S GMT");
33 33
34 { 34 {
35 xs *s = xs_replace_n(url, "https:/" "/", "", 1); 35 xs *s1 = xs_replace_n(url, "http:/" "/", "", 1);
36 xs *s = xs_replace_n(s1, "https:/" "/", "", 1);
36 l1 = xs_split_n(s, "/", 1); 37 l1 = xs_split_n(s, "/", 1);
37 } 38 }
38 39