Remove useless code
This commit is contained in:
parent
2bdaeff67d
commit
fd6def040f
@ -199,9 +199,6 @@ is_valid_hostname(const char * const hostname_str, const int len)
|
||||
if (*ndx == '-')
|
||||
return 0;
|
||||
|
||||
if (*ndx == '.')
|
||||
total_size--;
|
||||
|
||||
if (label_size > 63)
|
||||
return 0;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user