summaryrefslogtreecommitdiff
path: root/docs/examples/http2-upload.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-12-13 23:34:59 +0100
committerng0 <ng0@infotropique.org>2017-08-22 15:10:44 +0000
commitb224d5c53fc22dec5f14d741d7a499b4c4c6a446 (patch)
tree56cb003625f2c83ed9cab56bf05f6bca161f95c7 /docs/examples/http2-upload.c
parent30445b2148798f6ffd47534e0cb2e0d5a1cb5d94 (diff)
downloadgnurl-b224d5c53fc22dec5f14d741d7a499b4c4c6a446.tar.gz
gnurl-b224d5c53fc22dec5f14d741d7a499b4c4c6a446.tar.bz2
gnurl-b224d5c53fc22dec5f14d741d7a499b4c4c6a446.zip
checksrc: stricter no-space-before-paren enforcement
In order to make the code style more uniform everywhere
Diffstat (limited to 'docs/examples/http2-upload.c')
-rw-r--r--docs/examples/http2-upload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/http2-upload.c b/docs/examples/http2-upload.c
index b6353713e..67e17f34b 100644
--- a/docs/examples/http2-upload.c
+++ b/docs/examples/http2-upload.c
@@ -133,7 +133,7 @@ int my_trace(CURL *handle, curl_infotype type,
snprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld",
now->tm_hour, now->tm_min, now->tm_sec, (long)tv.tv_usec);
- switch (type) {
+ switch(type) {
case CURLINFO_TEXT:
fprintf(stderr, "%s [%d] Info: %s", timebuf, num, data);
default: /* in case a new one is introduced to shock us */