lib, src, tests: added space around ternary expressions

Closes #14912
This commit is contained in:
Gabriel Marin 2024-09-14 23:04:21 +03:00 committed by Daniel Stenberg
parent 0236276c3d
commit 5a263710f6
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
30 changed files with 60 additions and 60 deletions

View file

@ -904,7 +904,7 @@ Curl_cookie_add(struct Curl_easy *data,
* domain can access the variable. Set TRUE when the cookie says
* .domain.com and to false when the domain is complete www.domain.com
*/
co->tailmatch = strcasecompare(ptr, "TRUE")?TRUE:FALSE;
co->tailmatch = strcasecompare(ptr, "TRUE") ? TRUE : FALSE;
break;
case 2:
/* The file format allows the path field to remain not filled in */
@ -1400,7 +1400,7 @@ struct Cookie *Curl_cookie_getlist(struct Curl_easy *data,
while(co) {
/* if the cookie requires we are secure we must only continue if we are! */
if(co->secure?secure:TRUE) {
if(co->secure ? secure : TRUE) {
/* now check if the domain is correct */
if(!co->domain ||