mirror of
https://github.com/curl/curl.git
synced 2026-07-31 09:08:03 +03:00
lib/src: white space edits to comply better with code style
... as checksrc now finds and complains about these. Closes #14921
This commit is contained in:
parent
a57b45c386
commit
fbf5d507ce
128 changed files with 854 additions and 837 deletions
|
|
@ -274,7 +274,7 @@ static CURLcode status_line(struct Curl_easy *data,
|
|||
/* We need to set 'httpcodeq' for functions that check the response code in
|
||||
a single place. */
|
||||
data->req.httpcode = http_status;
|
||||
data->req.httpversion = http_version == HYPER_HTTP_VERSION_1_1? 11 :
|
||||
data->req.httpversion = http_version == HYPER_HTTP_VERSION_1_1 ? 11 :
|
||||
(http_version == HYPER_HTTP_VERSION_2 ? 20 : 10);
|
||||
if(data->state.hconnect)
|
||||
/* CONNECT */
|
||||
|
|
@ -481,7 +481,7 @@ CURLcode Curl_hyper_stream(struct Curl_easy *data,
|
|||
goto out;
|
||||
|
||||
k->deductheadercount =
|
||||
(100 <= http_status && 199 >= http_status)?k->headerbytecount:0;
|
||||
(100 <= http_status && 199 >= http_status) ? k->headerbytecount : 0;
|
||||
#ifdef USE_WEBSOCKETS
|
||||
if(k->upgr101 == UPGR101_WS) {
|
||||
if(http_status == 101) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue