diff options
-rw-r--r-- | libcli/dns/dns_hosts_file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libcli/dns/dns_hosts_file.c b/libcli/dns/dns_hosts_file.c index 4b1bc53167..373047765b 100644 --- a/libcli/dns/dns_hosts_file.c +++ b/libcli/dns/dns_hosts_file.c @@ -110,8 +110,6 @@ static bool getdns_hosts_fileent(TALLOC_CTX *ctx, XFILE *fp, char **pp_name, cha if (next_token_talloc(ctx, &ptr, &next_name, NULL)) ++count; } - if (count <= 0) - continue; if ((strcasecmp(name_type, "A") == 0) || (strcasecmp(name_type, "AAAA") == 0)) |