diff options
author | Michael Adam <obnox@samba.org> | 2009-08-05 00:09:16 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-05 00:09:16 +0200 |
commit | 1cdd76af31031c25abcb90cf323cbd96324174cc (patch) | |
tree | cc3ae41b8d25edc1d5a1ae34aa5caf007bac2437 /src/http-message.c | |
parent | 867b4c9813d445bf9ab7519f32da270338a2539c (diff) | |
download | tinyproxy-1cdd76af31031c25abcb90cf323cbd96324174cc.tar.gz tinyproxy-1cdd76af31031c25abcb90cf323cbd96324174cc.zip |
http_message_add_headers(): make parameter headers const.
Michael
Diffstat (limited to '')
-rw-r--r-- | src/http-message.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http-message.c b/src/http-message.c index d6ab81e..70357b8 100644 --- a/src/http-message.c +++ b/src/http-message.c @@ -186,7 +186,8 @@ http_message_set_body (http_message_t msg, const char *body, size_t len) * Add headers to the structure. */ int -http_message_add_headers (http_message_t msg, char **headers, int num_headers) +http_message_add_headers (http_message_t msg, const char **headers, + int num_headers) { char **new_headers; int i; |