aboutsummaryrefslogtreecommitdiffstats
path: root/main/srv.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-08 05:26:47 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-08 05:26:47 +0000
commite5d54850e05b4b48757ca0347ecec9732b60b531 (patch)
tree94c3ea215b91d5aeada8821156ebdf632a242f31 /main/srv.c
parentf6cbc169e084a118c4811360d311fc8bd19ea341 (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/srv.c')
-rw-r--r--main/srv.c1
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;
}