]> granicus.if.org Git - libevent/commit
Rename flush_outdated_host_addresses to clear_host_addresses
authorNick Mathewson <nickm@torproject.org>
Fri, 6 Dec 2013 15:50:17 +0000 (10:50 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 6 Dec 2013 15:50:17 +0000 (10:50 -0500)
commit45eba6ffd5cf28e20d906a6bb0e2c8a2e242ba56
tree5f29efd98c214125a0be044d177484ed54b7cb2e
parentaeb8d345b47bee0522f1ce32a20bfc8a642d657c
Rename flush_outdated_host_addresses to clear_host_addresses

"flush" can imply writing something out to a file or connection before
clearing it; "clear" always means "remove".  It's also potentially
misleading to say "outdated" here, since the function removes _all_
addresses regardless, not just certain outdated ones.

Also, don't free the lock in this function.  Also reindent the function.
evdns.c
include/event2/dns.h