Commit 6f28d3fd authored by Philipp Schafft's avatar Philipp Schafft 🦁

Update: Mark ice_config_http_header_t *header const in _build_headers_loop()

parent 2c72d9a3
...@@ -599,7 +599,7 @@ unsigned int util_str_to_unsigned_int(const char *str, const unsigned int defaul ...@@ -599,7 +599,7 @@ unsigned int util_str_to_unsigned_int(const char *str, const unsigned int defaul
} }
/* TODO, FIXME: handle memory allocation errors better. */ /* TODO, FIXME: handle memory allocation errors better. */
static inline void _build_headers_loop(char **ret, size_t *len, ice_config_http_header_t *header, int status, const char *allow, client_t *client) { static inline void _build_headers_loop(char **ret, size_t *len, const ice_config_http_header_t *header, int status, const char *allow, client_t *client) {
size_t headerlen; size_t headerlen;
const char *name; const char *name;
const char *value; const char *value;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment