mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05:00
unit1604: fixed indentation
This commit is contained in:
parent
c0a27c5cee
commit
092d012441
@ -46,11 +46,11 @@ static char *getflagstr(int flags)
|
|||||||
{
|
{
|
||||||
char *buf = malloc(256);
|
char *buf = malloc(256);
|
||||||
if(buf) {
|
if(buf) {
|
||||||
snprintf(buf, 256, "%s,%s,%s,%s",
|
snprintf(buf, 256, "%s,%s,%s,%s",
|
||||||
((flags & SANITIZE_ALLOW_COLONS) ? "SANITIZE_ALLOW_COLONS" : ""),
|
((flags & SANITIZE_ALLOW_COLONS) ? "SANITIZE_ALLOW_COLONS" : ""),
|
||||||
((flags & SANITIZE_ALLOW_PATH) ? "SANITIZE_ALLOW_PATH" : ""),
|
((flags & SANITIZE_ALLOW_PATH) ? "SANITIZE_ALLOW_PATH" : ""),
|
||||||
((flags & SANITIZE_ALLOW_RESERVED) ? "SANITIZE_ALLOW_RESERVED" : ""),
|
((flags & SANITIZE_ALLOW_RESERVED) ? "SANITIZE_ALLOW_RESERVED" : ""),
|
||||||
((flags & SANITIZE_ALLOW_TRUNCATE) ? "SANITIZE_ALLOW_TRUNCATE" : ""));
|
((flags & SANITIZE_ALLOW_TRUNCATE) ? "SANITIZE_ALLOW_TRUNCATE" : ""));
|
||||||
}
|
}
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
@ -59,13 +59,13 @@ static char *getcurlcodestr(int cc)
|
|||||||
{
|
{
|
||||||
char *buf = malloc(256);
|
char *buf = malloc(256);
|
||||||
if(buf) {
|
if(buf) {
|
||||||
snprintf(buf, 256, "%s (%d)",
|
snprintf(buf, 256, "%s (%d)",
|
||||||
(cc == SANITIZE_ERR_OK ? "SANITIZE_ERR_OK" :
|
(cc == SANITIZE_ERR_OK ? "SANITIZE_ERR_OK" :
|
||||||
cc == SANITIZE_ERR_BAD_ARGUMENT ? "SANITIZE_ERR_BAD_ARGUMENT" :
|
cc == SANITIZE_ERR_BAD_ARGUMENT ? "SANITIZE_ERR_BAD_ARGUMENT" :
|
||||||
cc == SANITIZE_ERR_INVALID_PATH ? "SANITIZE_ERR_INVALID_PATH" :
|
cc == SANITIZE_ERR_INVALID_PATH ? "SANITIZE_ERR_INVALID_PATH" :
|
||||||
cc == SANITIZE_ERR_OUT_OF_MEMORY ? "SANITIZE_ERR_OUT_OF_MEMORY" :
|
cc == SANITIZE_ERR_OUT_OF_MEMORY ? "SANITIZE_ERR_OUT_OF_MEMORY" :
|
||||||
"unexpected error code - add name"),
|
"unexpected error code - add name"),
|
||||||
cc);
|
cc);
|
||||||
}
|
}
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user