From fd16b3640527b9da8e1df97f5e25849e0313ac64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 6 Apr 2019 16:39:59 +0200 Subject: Added controlled conversions to char* instead of automatic ascii conversions. The definition of -UTQT_NO_ASCII_CAST is no longer needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- cert-updater/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cert-updater/main.cpp') diff --git a/cert-updater/main.cpp b/cert-updater/main.cpp index 4f76223..7e49c13 100644 --- a/cert-updater/main.cpp +++ b/cert-updater/main.cpp @@ -318,7 +318,7 @@ int main(int argc, char *argv[]) // Get LDAP user uid/gid struct passwd *pwd; - pwd = getpwnam(m_ldapUserName); + pwd = getpwnam(m_ldapUserName.local8Bit()); slapd_uid = pwd->pw_uid; slapd_gid = pwd->pw_gid; -- cgit v1.2.1