hosts file parsing should set success at end of loop

pull/593/head
Brad House 1 year ago
parent 92caef17b3
commit 72deb01bca
  1. 2
      src/lib/ares__hosts_file.c

@ -644,6 +644,8 @@ static ares_status_t ares__parse_hosts(const char *filename,
ares__buf_consume_line(buf, ARES_TRUE);
}
status = ARES_SUCCESS;
done:
ares__hosts_entry_destroy(entry);
ares__buf_destroy(buf);

Loading…
Cancel
Save