diff options
author | default <nobody@localhost> | 2022-09-21 09:31:05 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-21 09:31:05 +0200 |
commit | d2bdaf378fa050b98432993ec378bbfd54d4d964 (patch) | |
tree | 3b192c98b96a06469f089173f9e73f7c7d0f1038 /xs_curl.h | |
parent | 9573dbcdb698bf863af9921e305ff2d818d30fe2 (diff) |
More work in http signed request.
Diffstat (limited to 'xs_curl.h')
-rw-r--r-- | xs_curl.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -138,10 +138,7 @@ d_char *xs_http_request(char *method, char *url, d_char *headers, /* fill the request headers */ p = headers; while (xs_dict_iter(&p, &k, &v)) { - xs *h; - - const char *args[] = { k, v, NULL }; - h = xs_fmt("%s: %s", args); + xs *h = xs_fmt("%s: %s", k, v); list = curl_slist_append(list, h); } |