summaryrefslogtreecommitdiffstats
path: root/kio/kssl/ksslpemcallback.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kssl/ksslpemcallback.cc')
-rw-r--r--kio/kssl/ksslpemcallback.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kio/kssl/ksslpemcallback.cc b/kio/kssl/ksslpemcallback.cc
index bc314673c..2dfbb9146 100644
--- a/kio/kssl/ksslpemcallback.cc
+++ b/kio/kssl/ksslpemcallback.cc
@@ -40,7 +40,7 @@ int KSSLPemCallback(char *buf, int size, int rwflag, void *userdata) {
if (passlen > (unsigned int)size-1)
pass.truncate((unsigned int)size-1);
- qstrncpy(buf, pass.data(), size-1);
+ tqstrncpy(buf, pass.data(), size-1);
for (unsigned int i = 0; i < passlen; i++)
pass[i] = 0;