diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-08 05:26:47 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-08 05:26:47 +0000 |
commit | e5d54850e05b4b48757ca0347ecec9732b60b531 (patch) | |
tree | 94c3ea215b91d5aeada8821156ebdf632a242f31 /main | |
parent | f6cbc169e084a118c4811360d311fc8bd19ea341 (diff) |
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 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/srv.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |