From 7d27637698755a78ad0977eddeedd94edea9b526 Mon Sep 17 00:00:00 2001 From: kpfleming 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: http://svn.digium.com/svn/asterisk/branches/1.4@89105 614ede4d-c843-0410-af14-a771ab80d22e --- main/srv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/srv.c b/main/srv.c index aa4a0d7b7..d39b13157 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; } -- 2.11.4.GIT