mirror of
https://github.com/curl/curl.git
synced 2026-07-25 11:47:29 +03:00
code style: use spaces around pluses
This commit is contained in:
parent
ca86006deb
commit
e5743f08e7
104 changed files with 386 additions and 366 deletions
|
|
@ -55,7 +55,7 @@ char *Curl_dedotdotify(const char *input)
|
|||
size_t inlen = strlen(input);
|
||||
char *clone;
|
||||
size_t clen = inlen; /* the length of the cloned input */
|
||||
char *out = malloc(inlen+1);
|
||||
char *out = malloc(inlen + 1);
|
||||
char *outptr;
|
||||
char *orgclone;
|
||||
char *queryp;
|
||||
|
|
@ -172,7 +172,7 @@ char *Curl_dedotdotify(const char *input)
|
|||
from the correct index. */
|
||||
size_t oindex = queryp - orgclone;
|
||||
qlen = strlen(&input[oindex]);
|
||||
memcpy(outptr, &input[oindex], qlen+1); /* include the ending zero byte */
|
||||
memcpy(outptr, &input[oindex], qlen + 1); /* include the end zero byte */
|
||||
}
|
||||
|
||||
free(orgclone);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue