Formatting: No spaces after '(' or before ')'

This commit is contained in:
Erik Ekman
2020-07-24 19:02:41 +02:00
parent 15f12d0693
commit aeacfbc2c0
5 changed files with 15 additions and 14 deletions

View File

@@ -368,7 +368,7 @@ check_topdomain(char *str, char **errormsg)
chunklen++;
}
if ((str[i] >= 'a' && str[i] <= 'z') || (str[i] >= 'A' && str[i] <= 'Z') ||
isdigit(str[i]) || str[i] == '-' || str[i] == '.' ) {
isdigit(str[i]) || str[i] == '-' || str[i] == '.') {
continue;
} else {
if (errormsg) *errormsg = "Contains illegal character (allowed: [a-zA-Z0-9-.])";