Remove useless code

This commit is contained in:
Pierre Pronchery 2018-08-12 16:11:20 +02:00
parent 2bdaeff67d
commit fd6def040f

View File

@ -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;