summaryrefslogtreecommitdiff
path: root/lib/http_chunks.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-03 20:28:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-03 22:38:36 +0200
commita71012c03ef6a7cbfba69bcafb559fa417c49af0 (patch)
treedb917bd1712346053d67108c494e4424ba290e07 /lib/http_chunks.c
parent9d194a1143f280dfd5174108b27edd51d909383d (diff)
downloadcurl-a71012c03ef6a7cbfba69bcafb559fa417c49af0.tar.gz
code: style updates
Diffstat (limited to 'lib/http_chunks.c')
-rw-r--r--lib/http_chunks.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/http_chunks.c b/lib/http_chunks.c
index 53091738a..9eadb0265 100644
--- a/lib/http_chunks.c
+++ b/lib/http_chunks.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2016, 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
@@ -37,6 +37,7 @@
#include "curl_memory.h"
#include "memdebug.h"
+/* !checksrc! disable SPACEBEFORECLOSE 1 */
/*
* Chunk format (simplified):
*
@@ -80,7 +81,7 @@ static bool Curl_isxdigit(char digit)
{
return ( (digit >= 0x30 && digit <= 0x39) /* 0-9 */
|| (digit >= 0x41 && digit <= 0x46) /* A-F */
- || (digit >= 0x61 && digit <= 0x66) /* a-f */ ) ? TRUE : FALSE;
+ || (digit >= 0x61 && digit <= 0x66) /* a-f */) ? TRUE : FALSE;
}
void Curl_httpchunk_init(struct connectdata *conn)