From: Richard Mudgett Date: Tue, 31 May 2011 20:54:35 +0000 (+0000) Subject: Update some comments. X-Git-Tag: 1.8.5-rc1~11^2~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8668ec7ef9076e5bd54f00ca0c3c15cebcb74ff7;p=thirdparty%2Fasterisk.git Update some comments. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@321517 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/acl.h b/include/asterisk/acl.h index 86053f431c..973a3d0c21 100644 --- a/include/asterisk/acl.h +++ b/include/asterisk/acl.h @@ -143,7 +143,7 @@ int ast_get_ip(struct ast_sockaddr *addr, const char *value); * then this function acts exactly like a call to ast_get_ip. * * \param addr The IP address found. The address family is used as an input parameter to - * filter the returned adresses. if it is 0, both IPv4 and IPv6 addresses + * filter the returned addresses. if it is 0, both IPv4 and IPv6 addresses * can be returned. * * \param value The hostname to look up diff --git a/include/asterisk/dnsmgr.h b/include/asterisk/dnsmgr.h index 2c96d8e409..da83030649 100644 --- a/include/asterisk/dnsmgr.h +++ b/include/asterisk/dnsmgr.h @@ -68,11 +68,13 @@ void ast_dnsmgr_release(struct ast_dnsmgr_entry *entry); * \brief Allocate and initialize a DNS manager entry * * \param name the hostname - * \param result where to store the IP address as the DNS manager refreshes it. The address family - * is used as an input parameter to filter the returned adresses. if it is 0, both IPv4 * and IPv6 addresses can be returned. + * \param result where to store the IP address as the DNS manager refreshes it. + * The address family is used as an input parameter to filter the returned addresses. + * If it is 0, both IPv4 and IPv6 addresses can be returned. * \param dnsmgr Where to store the allocate DNS manager entry * \param service * + * \note * This function allocates a new DNS manager entry object, and fills it with * the provided hostname and IP address. This function _does_ force an initial * lookup, so it may block for some period of time.