summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-04-07 13:48:03 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-04-11 16:11:12 -0400
commit96c18203c803c340a98b18c1a3837eef371d1a6b (patch)
treed438a19c497f4695627fde4b6e51958cabd48f08
parent9dfc8a8b6b1a86666193651c30f134959bcb3b5c (diff)
downloadsssd-96c18203c803c340a98b18c1a3837eef371d1a6b.tar.gz
sssd-96c18203c803c340a98b18c1a3837eef371d1a6b.tar.xz
sssd-96c18203c803c340a98b18c1a3837eef371d1a6b.zip
Remove detection of duplicates from SRV result processing
-rw-r--r--src/providers/fail_over.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/providers/fail_over.c b/src/providers/fail_over.c
index 613efc05e..085b1a41d 100644
--- a/src/providers/fail_over.c
+++ b/src/providers/fail_over.c
@@ -1132,15 +1132,6 @@ resolve_srv_done(struct tevent_req *subreq)
}
for (reply = reply_list; reply; reply = reply->next) {
- ret = EOK;
- DLIST_FOR_EACH(server, state->service->server_list) {
- if (server->port == reply->port) {
- ret = EEXIST;
- break;
- }
- }
- if (ret == EEXIST) continue;
-
server = create_fo_server(state->service, reply->host,
reply->port, state->meta->user_data);
if (!server) {