summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-11-07 11:14:20 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-11-07 11:15:20 +0100
commitbda4ef417a00c91e3a7829fdba4b0968dd62e497 (patch)
tree71bae583e3834f853ef28f9401c8798531a7aafc
parente431daf013ea04cb1a988a2009d820224ef5fb79 (diff)
downloadcurl-bda4ef417a00c91e3a7829fdba4b0968dd62e497.tar.gz
curl: correct the switch() logic in ourWriteOut
Follow-up to e431daf013, as I did the wrong correction for a compiler warning. It should be a break and not a fall-through. Pointed-out-by: Frank Gevaerts
-rw-r--r--src/tool_writeout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_writeout.c b/src/tool_writeout.c
index d394411b0..d5b0bc44f 100644
--- a/src/tool_writeout.c
+++ b/src/tool_writeout.c
@@ -324,7 +324,7 @@ void ourWriteOut(CURL *curl, struct OutStruct *outs, const char *writeinfo)
curl_easy_getinfo(curl, CURLINFO_SCHEME,
&stringp))
fprintf(stream, "%s", stringp);
- /* FALLTHROUGH */
+ break;
case VAR_STDOUT:
stream = stdout;
break;