[asterisk-commits] kpfleming: branch 1.4 r89105 - /branches/1.4/main/srv.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 7 23:26:48 CST 2007


Author: kpfleming
Date: Wed Nov  7 23:26:47 2007
New Revision: 89105

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89105
Log:
fix a glaring bug in the new SRV record handling that would cause incorrect weight sorting

Modified:
    branches/1.4/main/srv.c

Modified: branches/1.4/main/srv.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/srv.c?view=diff&rev=89105&r1=89104&r2=89105
==============================================================================
--- branches/1.4/main/srv.c (original)
+++ branches/1.4/main/srv.c Wed Nov  7 23:26:47 2007
@@ -190,6 +190,7 @@
 
 				AST_LIST_REMOVE_CURRENT(&temp_list, list);
 				AST_LIST_INSERT_TAIL(&newlist, current, list);
+				break;
 			}
 			AST_LIST_TRAVERSE_SAFE_END;
 		}




More information about the asterisk-commits mailing list