diff options
Diffstat (limited to 'lib/http2.c')
-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). */ |