summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-25 21:45:58 +0200
committerdefault <nobody@localhost>2022-09-25 21:45:58 +0200
commitbf1ee12da28894cf08b704adb24ce399459072e0 (patch)
treeecbb246271d736176dca120400bae6548bdbdfa1 /http.c
parente132ce5076db459642b07b7e85af80f4c353edf7 (diff)
More sign work (I'm tired).
Diffstat (limited to 'http.c')
-rw-r--r--http.c2
1 files changed, 1 insertions, 1 deletions
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,