summaryrefslogtreecommitdiff
path: root/src/providers/ipa
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-07-19 18:17:10 -0400
committerJakub Hrozek <jhrozek@redhat.com>2012-08-01 22:24:44 +0200
commitc929c213c91b2f9d55f96d6964b9390636178991 (patch)
tree5666aabb7f8d4b43b8067efd53a421abe1a82d71 /src/providers/ipa
parentc03b28a38b14fdb59f74864ae4dc56affe256508 (diff)
downloadsssd-c929c213c91b2f9d55f96d6964b9390636178991.tar.gz
sssd-c929c213c91b2f9d55f96d6964b9390636178991.tar.bz2
sssd-c929c213c91b2f9d55f96d6964b9390636178991.zip
Fix wrong elements used in comparison
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_subdomains.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c
index c4ed51ac..10b41d94 100644
--- a/src/providers/ipa/ipa_subdomains.c
+++ b/src/providers/ipa/ipa_subdomains.c
@@ -562,7 +562,7 @@ static void ipa_subdomains_handler_master_done(struct tevent_req *req)
goto done;
}
domain_info->id = talloc_strdup(domain_info, tmp_str);
- if (domain_info->flat_name == NULL) {
+ if (domain_info->id == NULL) {
ret = ENOMEM;
goto done;
}