mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:43:32 +03:00
code style: use spaces around equals signs
This commit is contained in:
parent
e155f38d1e
commit
6b84438d9a
144 changed files with 995 additions and 990 deletions
|
|
@ -384,7 +384,7 @@ char *curl_pushheader_byname(struct curl_pushheaders *h, const char *header)
|
|||
struct HTTP *stream = h->data->req.protop;
|
||||
size_t len = strlen(header);
|
||||
size_t i;
|
||||
for(i=0; i<stream->push_headers_used; i++) {
|
||||
for(i = 0; i<stream->push_headers_used; i++) {
|
||||
if(!strncmp(header, stream->push_headers[i], len)) {
|
||||
/* sub-match, make sure that it is followed by a colon */
|
||||
if(stream->push_headers[i][len] != ':')
|
||||
|
|
@ -464,7 +464,7 @@ static int push_promise(struct Curl_easy *data,
|
|||
data->multi->push_userp);
|
||||
|
||||
/* free the headers again */
|
||||
for(i=0; i<stream->push_headers_used; i++)
|
||||
for(i = 0; i<stream->push_headers_used; i++)
|
||||
free(stream->push_headers[i]);
|
||||
free(stream->push_headers);
|
||||
stream->push_headers = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue