summaryrefslogtreecommitdiff
path: root/xs_curl.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-05-23 10:01:37 +0200
committerdefault <nobody@localhost>2024-05-23 10:01:37 +0200
commit8cf7559a7e21c5757455b948814d61e6e96f08f1 (patch)
treec9a9d6d637977f97ebfc83ba36ae794fe5f9d8c1 /xs_curl.h
parent63e0ca5abac0f00121f724927c25edaf822097a9 (diff)
Added more const.
Diffstat (limited to 'xs_curl.h')
-rw-r--r--xs_curl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs_curl.h b/xs_curl.h
index 2628d91..215db7f 100644
--- a/xs_curl.h
+++ b/xs_curl.h
@@ -93,8 +93,8 @@ xs_dict *xs_http_request(const char *method, const char *url,
xs_dict *response;
CURL *curl;
struct curl_slist *list = NULL;
- xs_str *k;
- xs_val *v;
+ const xs_str *k;
+ const xs_val *v;
long lstatus = 0;
struct _payload_data pd;