diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-06-02 11:50:00 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-06-24 23:44:42 +0200 |
commit | a384f28ca61e5631f81b209a2994eb13b9ac12df (patch) | |
tree | a0c8ba571a061afda0a701e4ab46420db3317593 /lib | |
parent | bf445b6e12f0a01959edbb3ca6fb548837289718 (diff) |
http2: curl_pushheader_byname now takes a const char *
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.c b/lib/http2.c index 5587b3d2b..4eae850c6 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -236,7 +236,7 @@ char *curl_pushheader_bynum(struct curl_pushheaders *h, size_t num) /* * push header access function. Only to be used from within the push callback */ -char *curl_pushheader_byname(struct curl_pushheaders *h, char *header) +char *curl_pushheader_byname(struct curl_pushheaders *h, const char *header) { /* Verify that we got a good easy handle in the push header struct, mostly to detect rubbish input fast(er). */ |