]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 89105 via svnmerge from
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 8 Nov 2007 05:36:28 +0000 (05:36 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 8 Nov 2007 05:36:28 +0000 (05:36 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89105 | kpfleming | 2007-11-08 00:26:47 -0500 (Thu, 08 Nov 2007) | 2 lines

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/trunk@89107 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/srv.c

index e9c6d650d6ce7ae69ede5bd1c4e1ee62e23a2b16..3091d78a329db549273fed774c89d80a87ac34ed 100644 (file)
@@ -190,6 +190,7 @@ static void process_weights(struct srv_context *context)
                                        continue;
 
                                AST_LIST_MOVE_CURRENT(&newlist, list);
+                               break;
                        }
                        AST_LIST_TRAVERSE_SAFE_END;
                }