mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:43:31 +03:00
whitespace cleanup: no space first in conditionals
"if(a)" is our style, not "if( a )"
This commit is contained in:
parent
1b758b01c1
commit
889d1e973f
21 changed files with 106 additions and 105 deletions
|
|
@ -1913,9 +1913,9 @@ CURLcode Curl_follow(struct SessionHandle *data,
|
|||
*
|
||||
* This behaviour can be overridden with CURLOPT_POSTREDIR.
|
||||
*/
|
||||
if( (data->set.httpreq == HTTPREQ_POST
|
||||
|| data->set.httpreq == HTTPREQ_POST_FORM)
|
||||
&& !data->set.post301) {
|
||||
if((data->set.httpreq == HTTPREQ_POST
|
||||
|| data->set.httpreq == HTTPREQ_POST_FORM)
|
||||
&& !data->set.post301) {
|
||||
infof(data,
|
||||
"Violate RFC 2616/10.3.2 and switch from POST to GET\n");
|
||||
data->set.httpreq = HTTPREQ_GET;
|
||||
|
|
@ -1941,9 +1941,9 @@ CURLcode Curl_follow(struct SessionHandle *data,
|
|||
|
||||
This behaviour can be overriden with CURLOPT_POSTREDIR
|
||||
*/
|
||||
if( (data->set.httpreq == HTTPREQ_POST
|
||||
|| data->set.httpreq == HTTPREQ_POST_FORM)
|
||||
&& !data->set.post302) {
|
||||
if((data->set.httpreq == HTTPREQ_POST
|
||||
|| data->set.httpreq == HTTPREQ_POST_FORM)
|
||||
&& !data->set.post302) {
|
||||
infof(data,
|
||||
"Violate RFC 2616/10.3.3 and switch from POST to GET\n");
|
||||
data->set.httpreq = HTTPREQ_GET;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue