]> granicus.if.org Git - libevent/commitdiff
Fix docstring in dns.h
authorLeonid Evdokimov <darkk@yandex-team.ru>
Wed, 10 Aug 2011 11:58:19 +0000 (15:58 +0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 12 Sep 2011 19:09:30 +0000 (15:09 -0400)
include/event2/dns.h

index 06031665096b320f7a3b5a173530d708e1a0010c..a51da89974c705628a29e42bb224d1e8d8b5764e 100644 (file)
@@ -206,7 +206,7 @@ struct event_base;
 
   @param event_base the event base to associate the dns client with
   @param initialize_nameservers 1 if resolve.conf processing should occur
-  @return 0 if successful, or -1 if an error occurred
+  @return evdns_base object if successful, or NULL if an error occurred.
   @see evdns_base_free()
  */
 struct evdns_base * evdns_base_new(struct event_base *event_base, int initialize_nameservers);