diff options
author | Pavel Reichl <preichl@redhat.com> | 2014-07-21 08:06:23 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-22 09:40:08 +0200 |
commit | db18dda869bc6c52a41797b2066cf121cf10f49c (patch) | |
tree | 7bdfa5d0ee9ce1d135202e1f87d63f95aafe0c6b /src/providers/krb5 | |
parent | 9ca0071db0e226e4e65b2a80fdeddd5048ca8990 (diff) | |
download | sssd-db18dda869bc6c52a41797b2066cf121cf10f49c.tar.gz sssd-db18dda869bc6c52a41797b2066cf121cf10f49c.tar.xz sssd-db18dda869bc6c52a41797b2066cf121cf10f49c.zip |
UTIL: rename find_subdomain_by_name
The function was named "find_subdomain" yet it could find both main
domain and subdomain.
sed 's/find_subdomain_by_name/find_domain_by_name/' -i `find . -name "*.[ch]"`
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/providers/krb5')
-rw-r--r-- | src/providers/krb5/krb5_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/krb5/krb5_utils.c b/src/providers/krb5/krb5_utils.c index 0734310ca..0d2e28119 100644 --- a/src/providers/krb5/krb5_utils.c +++ b/src/providers/krb5/krb5_utils.c @@ -1094,9 +1094,9 @@ errno_t get_domain_or_subdomain(struct be_ctx *be_ctx, if (domain_name != NULL && strcasecmp(domain_name, be_ctx->domain->name) != 0) { - *dom = find_subdomain_by_name(be_ctx->domain, domain_name, true); + *dom = find_domain_by_name(be_ctx->domain, domain_name, true); if (*dom == NULL) { - DEBUG(SSSDBG_OP_FAILURE, "find_subdomain_by_name failed.\n"); + DEBUG(SSSDBG_OP_FAILURE, "find_domain_by_name failed.\n"); return ENOMEM; } } else { |