aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/http2-upload.c
diff options
context:
space:
mode:
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 */