aboutsummaryrefslogtreecommitdiff
path: root/lib/escape.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-01-22 23:21:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2010-01-22 23:21:39 +0000
commit33ce0ec1f1951bc1a8f4d475381c1b7c95d4a03a (patch)
tree770107eca67cfa3a6b55db2c677d9ee3385583be /lib/escape.c
parent143586403055b977bfe17b06042ebc3beb5d4d82 (diff)
wrap long lines and do some indent policing
Diffstat (limited to 'lib/escape.c')
-rw-r--r--lib/escape.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/escape.c b/lib/escape.c
index 838100e38..3164f908a 100644
--- a/lib/escape.c
+++ b/lib/escape.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -103,7 +103,8 @@ char *curl_easy_escape(CURL *handle, const char *string, int inlength)
if (Curl_isalnum(in)) {
/* just copy this */
ns[strindex++]=in;
- } else {
+ }
+ else {
/* encode it */
newlen += 2; /* the size grows with two, since this'll become a %XX */
if(newlen > alloc) {