1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 08:38:49 -05:00

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
This commit is contained in:
Daniel Stenberg 2018-11-07 11:14:20 +01:00
parent e431daf013
commit bda4ef417a
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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;