mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04: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:
parent
e431daf013
commit
bda4ef417a
@ -324,7 +324,7 @@ void ourWriteOut(CURL *curl, struct OutStruct *outs, const char *writeinfo)
|
|||||||
curl_easy_getinfo(curl, CURLINFO_SCHEME,
|
curl_easy_getinfo(curl, CURLINFO_SCHEME,
|
||||||
&stringp))
|
&stringp))
|
||||||
fprintf(stream, "%s", stringp);
|
fprintf(stream, "%s", stringp);
|
||||||
/* FALLTHROUGH */
|
break;
|
||||||
case VAR_STDOUT:
|
case VAR_STDOUT:
|
||||||
stream = stdout;
|
stream = stdout;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user