From 9d73a0d6f19c8032107a64805c943b87e027bafd Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser hiddenalpha.ch Date: Fri, 24 Oct 2025 22:00:51 +0200 Subject: (try)fix const-ness. --- include/qntan/Qntan.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h index 7c2a498..a79dd6f 100644 --- a/include/qntan/Qntan.h +++ b/include/qntan/Qntan.h @@ -969,15 +969,15 @@ struct Qntan_XmlDec_Mentor { struct Qntan_HttpClient_Exchg_Opts { /* * Eg: 'GET', 'POST', ... */ - char *mthd; + char const *mthd; /* * Eg: 'example.com', '127.0.0.1', ... */ - char *host; + char const *host; /**/ uint16_t port; /* * Eg: "/foo/bar?blubb=true" */ - char *url; + char const *url; /* * Like {"key1", "val1", "key2", "val2", NULL} */ char **hdrs; @@ -988,7 +988,7 @@ struct Qntan_HttpClient_Exchg_Opts { * MUST be null-byte-terminated. * MUST NOT contain null-bytes. If you have to, set NULL and use separate * write calls instead. */ - char *body; + char const *body; /**/ Qntan_Cls cls; /**/ -- cgit v1.3.1