From 30cb593fd2f78f8ef24d5266b01c04301842ce93 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Thu, 8 Nov 2007 05:26:47 +0000 Subject: [PATCH] fix a glaring bug in the new SRV record handling that would cause incorrect weight sorting git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@89105 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/srv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/srv.c b/main/srv.c index aa4a0d7b7e..d39b13157d 100644 --- a/main/srv.c +++ b/main/srv.c @@ -190,6 +190,7 @@ static void process_weights(struct srv_context *context) AST_LIST_REMOVE_CURRENT(&temp_list, list); AST_LIST_INSERT_TAIL(&newlist, current, list); + break; } AST_LIST_TRAVERSE_SAFE_END; }