summaryrefslogtreecommitdiff
path: root/lib/http_chunks.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-03-17 14:06:48 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-03-17 14:06:48 +0100
commit2dc1a5ce93514d4354fa01229756fc48c00513d9 (patch)
tree63554b3a7c3e0bc85e9da9713316438c58b757e9 /lib/http_chunks.c
parent0037eb58052b19bad7ce55b2317a19283c644637 (diff)
downloadcurl-2dc1a5ce93514d4354fa01229756fc48c00513d9.tar.gz
checksrc: detect and remove space before trailing semicolons
Diffstat (limited to 'lib/http_chunks.c')
-rw-r--r--lib/http_chunks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_chunks.c b/lib/http_chunks.c
index 3f5003e84..0b1a5ed37 100644
--- a/lib/http_chunks.c
+++ b/lib/http_chunks.c
@@ -155,7 +155,7 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
if(result) {
/* Curl_convert_from_network calls failf if unsuccessful */
/* Treat it as a bad hex character */
- return CHUNKE_ILLEGAL_HEX ;
+ return CHUNKE_ILLEGAL_HEX;
}
ch->datasize=curlx_strtoofft(ch->hexbuffer, &endptr, 16);