http2: curl_pushheader_byname now takes a const char *

This commit is contained in:
Daniel Stenberg
2015-06-02 11:50:00 +02:00
parent bf445b6e12
commit a384f28ca6
3 changed files with 10 additions and 10 deletions

View File

@@ -298,9 +298,8 @@ struct curl_pushheaders; /* forward declaration only */
CURL_EXTERN char *curl_pushheader_bynum(struct curl_pushheaders *h,
size_t num);
CURL_EXTERN char *curl_pushheader_byname(struct curl_pushheaders *h,
char *name);
const char *name);
typedef int (*curl_push_callback)(CURL *parent,
CURL *easy,