summaryrefslogtreecommitdiff
path: root/src/providers
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:08:44 -0400
commitfc5fc2c1a28664b727ace6c18eb4fbeb9ce15ab0 (patch)
tree9cc4330fdc07f3bbd4ea4a8c162a65a56df780a3 /src/providers
parent18f3210e95bec4f23e5cac85813f54bab99cd41c (diff)
downloadsssd-fc5fc2c1a28664b727ace6c18eb4fbeb9ce15ab0.tar.gz
sssd-fc5fc2c1a28664b727ace6c18eb4fbeb9ce15ab0.tar.bz2
sssd-fc5fc2c1a28664b727ace6c18eb4fbeb9ce15ab0.zip
Remove detection of duplicates from SRV result processing
Diffstat (limited to 'src/providers')
-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 613efc05..085b1a41 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) {