diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-09-09 23:55:08 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-09-11 09:29:50 +0200 |
commit | e5743f08e7efb387bb39c0dc28f36838ece3bc1e (patch) | |
tree | b0237e17762f3be2bb6f8cf53fea1491a2c731ad /lib/escape.c | |
parent | ca86006debc4570bbb3eacb71965c9d59be14084 (diff) | |
download | curl-e5743f08e7efb387bb39c0dc28f36838ece3bc1e.tar.gz |
code style: use spaces around pluses
Diffstat (limited to 'lib/escape.c')
-rw-r--r-- | lib/escape.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/escape.c b/lib/escape.c index 00c10b14a..c734f0f76 100644 --- a/lib/escape.c +++ b/lib/escape.c @@ -91,7 +91,7 @@ char *curl_easy_escape(struct Curl_easy *data, const char *string, if(inlength < 0) return NULL; - alloc = (inlength?(size_t)inlength:strlen(string))+1; + alloc = (inlength?(size_t)inlength:strlen(string)) + 1; newlen = alloc; ns = malloc(alloc); @@ -148,7 +148,7 @@ CURLcode Curl_urldecode(struct Curl_easy *data, char **ostring, size_t *olen, bool reject_ctrl) { - size_t alloc = (length?length:strlen(string))+1; + size_t alloc = (length?length:strlen(string)) + 1; char *ns = malloc(alloc); unsigned char in; size_t strindex = 0; |