mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
http2: minor comment typo
This commit is contained in:
parent
88f585c3a1
commit
39904d6f7d
@ -280,7 +280,7 @@ char *curl_pushheader_byname(struct curl_pushheaders *h, const char *header)
|
||||
size_t i;
|
||||
for(i=0; i<stream->push_headers_used; i++) {
|
||||
if(!strncmp(header, stream->push_headers[i], len)) {
|
||||
/* sub-match, make sure that it us followed by a colon */
|
||||
/* sub-match, make sure that it is followed by a colon */
|
||||
if(stream->push_headers[i][len] != ':')
|
||||
continue;
|
||||
return &stream->push_headers[i][len+1];
|
||||
|
Loading…
Reference in New Issue
Block a user