[asterisk-commits] file: branch file/pjsip-dns r410508 - /team/file/pjsip-dns/res/res_pjsip/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Mar 12 15:02:08 CDT 2014


Author: file
Date: Wed Mar 12 15:02:05 2014
New Revision: 410508

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=410508
Log:
Change function name.

Modified:
    team/file/pjsip-dns/res/res_pjsip/config_global.c

Modified: team/file/pjsip-dns/res/res_pjsip/config_global.c
URL: http://svnview.digium.com/svn/asterisk/team/file/pjsip-dns/res/res_pjsip/config_global.c?view=diff&rev=410508&r1=410507&r2=410508
==============================================================================
--- team/file/pjsip-dns/res/res_pjsip/config_global.c (original)
+++ team/file/pjsip-dns/res/res_pjsip/config_global.c Wed Mar 12 15:02:05 2014
@@ -147,7 +147,7 @@
 
 
 /*! \brief Helper function which gets the system nameservers adds them to the nameservers array */
-static int system_add_resolv_conf_nameservers(pj_pool_t *pool, pj_str_t *nameservers, unsigned int *count)
+static int system_add_system_nameservers(pj_pool_t *pool, pj_str_t *nameservers, unsigned int *count)
 {
 	struct ao2_container *discovered_nameservers;
 	struct ao2_iterator it_nameservers;
@@ -224,7 +224,7 @@
 			if (!pool) {
 				ast_log(LOG_ERROR, "Could not create memory pool for automatic nameserver discovery\n");
 				return -1;
-			} else if (system_add_resolv_conf_nameservers(pool, nameservers, &count)) {
+			} else if (system_add_system_nameservers(pool, nameservers, &count)) {
 				/* A log message will have already been output by system_add_resolv_conf_nameservers */
 				pjsip_endpt_release_pool(ast_sip_get_pjsip_endpoint(), pool);
 				return -1;




More information about the asterisk-commits mailing list