From c929c213c91b2f9d55f96d6964b9390636178991 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 19 Jul 2012 18:17:10 -0400 Subject: Fix wrong elements used in comparison --- src/providers/ipa/ipa_subdomains.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/providers/ipa') 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; } -- cgit