summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-04-24 13:25:18 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-04-24 14:26:52 -0400
commit2c68b4a680e64d8e506794d5976367394133504b (patch)
tree51cdaac11d9f61b4f1dba3ebedd1fec2ebca1fe7 /src/util
parent53dae47b4e8995be624c74cb2d4838c6856b0ba4 (diff)
downloadsssd-2c68b4a680e64d8e506794d5976367394133504b.tar.gz
sssd-2c68b4a680e64d8e506794d5976367394133504b.tar.bz2
sssd-2c68b4a680e64d8e506794d5976367394133504b.zip
Two fixes in responder subdomain code
Diffstat (limited to 'src/util')
-rw-r--r--src/util/domain_info_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/domain_info_utils.c b/src/util/domain_info_utils.c
index d8de790d..d9f320d8 100644
--- a/src/util/domain_info_utils.c
+++ b/src/util/domain_info_utils.c
@@ -107,6 +107,6 @@ fail:
struct sss_domain_info *copy_subdomain(TALLOC_CTX *mem_ctx,
struct sss_domain_info *subdomain)
{
- return new_subdomain(mem_ctx, subdomain, subdomain->name,
+ return new_subdomain(mem_ctx, subdomain->parent, subdomain->name,
subdomain->flat_name, subdomain->domain_id);
}