]> granicus.if.org Git - libevent/commitdiff
refer to non-deprecated evdns functions in comments
authorGreg Hazel <ghazel@gmail.com>
Mon, 10 Oct 2011 15:24:43 +0000 (08:24 -0700)
committerNick Mathewson <nickm@torproject.org>
Mon, 10 Oct 2011 15:33:15 +0000 (11:33 -0400)
include/event2/dns.h

index 61c6e4f11c39b43222c5e7c2d90829976fb53a97..c47073c4c12981102df652ab94f1589d2190d827 100644 (file)
@@ -270,7 +270,7 @@ int evdns_base_count_nameservers(struct evdns_base *base);
 /**
   Remove all configured nameservers, and suspend all pending resolves.
 
-  Resolves will not necessarily be re-attempted until evdns_resume() is called.
+  Resolves will not necessarily be re-attempted until evdns_base_resume() is called.
 
   @param base the evdns_base to which to apply this operation
   @return 0 if successful, or -1 if an error occurred
@@ -283,7 +283,7 @@ int evdns_base_clear_nameservers_and_suspend(struct evdns_base *base);
   Resume normal operation and continue any suspended resolve requests.
 
   Re-attempt resolves left in limbo after an earlier call to
-  evdns_clear_nameservers_and_suspend().
+  evdns_base_clear_nameservers_and_suspend().
 
   @param base the evdns_base to which to apply this operation
   @return 0 if successful, or -1 if an error occurred