aboutsummaryrefslogtreecommitdiff
path: root/lib/asyn-ares.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-01-12 22:33:38 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-01-12 22:33:38 +0100
commit600cbaca6f8bd6df9f2e592504836df0c5d19cdb (patch)
treea3282304b5e17bea208606fe0eb4191c27d5c080 /lib/asyn-ares.c
parentb36f1d26f830453ebaa17238f9bd1e396f618720 (diff)
Curl_resolver_getsock: fix the function description comment
It referred to it by the wrong name and said it returned the wrong value. Reported by: Gisle Vanem
Diffstat (limited to 'lib/asyn-ares.c')
-rw-r--r--lib/asyn-ares.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/asyn-ares.c b/lib/asyn-ares.c
index fdfa2a30f..97b3f7903 100644
--- a/lib/asyn-ares.c
+++ b/lib/asyn-ares.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -207,12 +207,12 @@ static void destroy_async_data (struct Curl_async *async)
}
/*
- * Curl_resolver_fdset() is called when someone from the outside world (using
- * curl_multi_fdset()) wants to get our fd_set setup and we're talking with
- * ares. The caller must make sure that this function is only called when we
- * have a working ares channel.
+ * Curl_resolver_getsock() is called when someone from the outside world
+ * (using curl_multi_fdset()) wants to get our fd_set setup and we're talking
+ * with ares. The caller must make sure that this function is only called when
+ * we have a working ares channel.
*
- * Returns: CURLE_OK always!
+ * Returns: sockets-in-use-bitmap
*/
int Curl_resolver_getsock(struct connectdata *conn,