From 1f3127e88a87953f059c9a70d3582ae1719594b1 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 5 Aug 2014 10:12:34 +0200 Subject: Only replace space with the specified substitution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://fedorahosted.org/sssd/ticket/2397 - make sss_replace_whitespaces only replace space (' ') not any whitespace - make sss_replace_whitespaces only replace a single char, not the whole string - rename CONFDB_NSS_OVERRIDE_DEFAULT_WHITESPACE to CONFDB_NSS_OVERRIDE_DEFAULT_SPACE - rename the override_default_whitespace option to override_space - rename sss_replace_whitespaces() to sss_replace_space() - rename sss_reverse_replace_whitespaces() to sss_reverse_replace_space() - rename nctx->override_default_wsp_str to nctx->override_space - make the return value of sss_replace_space non-const to avoid freeing the result without compilation warnings Reviewed-by: Pavel Březina Reviewed-by: Lukáš Slebodník --- src/config/etc/sssd.api.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config/etc/sssd.api.conf') diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf index 1db9e2207..a3398c8d5 100644 --- a/src/config/etc/sssd.api.conf +++ b/src/config/etc/sssd.api.conf @@ -44,7 +44,7 @@ shell_fallback = str, None, false default_shell = str, None, false get_domains_timeout = int, None, false memcache_timeout = int, None, false -override_default_whitespace = str, None, false +override_space = str, None, false [pam] # Authentication service -- cgit