summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-08-03 18:42:24 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-08-03 13:50:29 -0400
commit34e93359de515da5e75bb34f9f7569f1715f0aa0 (patch)
treec67b845b43da9b04570d1c7f1f2ec3a7d8793aa7
parent67f0e6de26a6d46dceb4f45c0c25b01ae2f29940 (diff)
downloadsssd-34e93359de515da5e75bb34f9f7569f1715f0aa0.tar.gz
sssd-34e93359de515da5e75bb34f9f7569f1715f0aa0.tar.bz2
sssd-34e93359de515da5e75bb34f9f7569f1715f0aa0.zip
Return proper error value when SRV lookup fails
Fixes: #587
-rw-r--r--src/providers/fail_over.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/fail_over.c b/src/providers/fail_over.c
index 3dab38a3..fe35994f 100644
--- a/src/providers/fail_over.c
+++ b/src/providers/fail_over.c
@@ -989,7 +989,7 @@ resolve_srv_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
default:
DEBUG(1, ("Unexpected status %d for a SRV server\n", status));
ret = EIO;
- break;
+ goto done;
}
ret = EOK;