From bf1ee12da28894cf08b704adb24ce399459072e0 Mon Sep 17 00:00:00 2001 From: default Date: Sun, 25 Sep 2022 21:45:58 +0200 Subject: More sign work (I'm tired). --- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http.c') diff --git a/http.c b/http.c index abc3466..379080e 100644 --- a/http.c +++ b/http.c @@ -86,7 +86,7 @@ d_char *http_signed_request(snac *snac, char *method, char *url, hdrs = xs_dict_append(hdrs, "date", date); hdrs = xs_dict_append(hdrs, "signature", signature); hdrs = xs_dict_append(hdrs, "digest", digest); - hdrs = xs_dict_append(hdrs, "host", xs_dict_get(srv_config, "host")); + hdrs = xs_dict_append(hdrs, "host", host); hdrs = xs_dict_append(hdrs, "user-agent", "snac/2.x"); response = xs_http_request(method, url, hdrs, -- cgit v1.2.3