[svn-commits] oej: branch oej/pgtips-srv-and-outbound-stuff-1.8 r421530 - /team/oej/pgtips-...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Aug 20 06:53:13 CDT 2014


Author: oej
Date: Wed Aug 20 06:53:10 2014
New Revision: 421530

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=421530
Log:
Typos and such evil stuff

Modified:
    team/oej/pgtips-srv-and-outbound-stuff-1.8/main/srv.c

Modified: team/oej/pgtips-srv-and-outbound-stuff-1.8/main/srv.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/pgtips-srv-and-outbound-stuff-1.8/main/srv.c?view=diff&rev=421530&r1=421529&r2=421530
==============================================================================
--- team/oej/pgtips-srv-and-outbound-stuff-1.8/main/srv.c (original)
+++ team/oej/pgtips-srv-and-outbound-stuff-1.8/main/srv.c Wed Aug 20 06:53:10 2014
@@ -170,7 +170,7 @@
 	}
 
 	AST_LIST_TRAVERSE_SAFE_BEGIN(&c->entries, current, list) {
-		ast_debug(3, "         ===> (%d) Looking at you, %s \n", current->host, c->num_records);
+		ast_debug(3, "         ===> (%d) Looking at you, %s \n", c->num_records, current->host);
 		/* insert this entry just before the first existing
 	   	entry with a higher priority */
 		if (current->priority <= entry->priority) {
@@ -343,7 +343,7 @@
 	ret = ast_search_dns(context, service, C_IN, T_SRV, srv_callback);
 
 	if (ret > 0) {
-		struct srv_entry *cur;
+		//struct srv_entry *cur;
 
 		if(context->have_weights) {
 			process_weights(context);
@@ -442,7 +442,7 @@
 	*weight = entry->weight;
 	res = 0;
 	context->current = entry;
-	ast_debug(3, "   ==> DNS SRV select next host: %s port %hu \n", *host, (int) port);
+	ast_debug(3, "   ==> DNS SRV select next host: %s port %hu \n", *host, (int) *port);
 
 	return res;
 }




More information about the svn-commits mailing list