mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:13:38 +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
|
|
@ -359,8 +359,8 @@ static CURLcode rtsp_do(struct Curl_easy *data, bool *done)
|
|||
/* Accept Headers for DESCRIBE requests */
|
||||
if(rtspreq == RTSPREQ_DESCRIBE) {
|
||||
/* Accept Header */
|
||||
p_accept = Curl_checkheaders(data, STRCONST("Accept"))?
|
||||
NULL:"Accept: application/sdp\r\n";
|
||||
p_accept = Curl_checkheaders(data, STRCONST("Accept")) ?
|
||||
NULL : "Accept: application/sdp\r\n";
|
||||
|
||||
/* Accept-Encoding header */
|
||||
if(!Curl_checkheaders(data, STRCONST("Accept-Encoding")) &&
|
||||
|
|
@ -615,7 +615,7 @@ static CURLcode rtp_write_body_junk(struct Curl_easy *data,
|
|||
in_body = (data->req.headerline && !rtspc->in_header) &&
|
||||
(data->req.size >= 0) &&
|
||||
(data->req.bytecount < data->req.size);
|
||||
body_remain = in_body? (data->req.size - data->req.bytecount) : 0;
|
||||
body_remain = in_body ? (data->req.size - data->req.bytecount) : 0;
|
||||
DEBUGASSERT(body_remain >= 0);
|
||||
if(body_remain) {
|
||||
if((curl_off_t)blen > body_remain)
|
||||
|
|
@ -858,7 +858,7 @@ static CURLcode rtsp_rtp_write_resp(struct Curl_easy *data,
|
|||
data->req.size));
|
||||
if(!result && (is_eos || blen)) {
|
||||
result = Curl_client_write(data, CLIENTWRITE_BODY|
|
||||
(is_eos? CLIENTWRITE_EOS:0),
|
||||
(is_eos ? CLIENTWRITE_EOS : 0),
|
||||
(char *)buf, blen);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue