summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorDirk Mueller <mueller@kde.org>2006-04-26 23:21:59 +0000
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-04-23 22:44:49 +0900
commit86d107daed688d9f69f789e9087c48250126612f (patch)
treeb869ed656bddb91b1b24eef0032fba72abd1a87f /tdeioslave
parente53303b9298bc47bd864caea6725ff09c5c6e6bb (diff)
downloadtdepim-86d107daed688d9f69f789e9087c48250126612f.tar.gz
tdepim-86d107daed688d9f69f789e9087c48250126612f.zip
- avoid unnecessary string conversion.
Partial cherry pick from: 35f536ddb27633e8cac40eb4c99c5b370fdb14cb Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
Diffstat (limited to 'tdeioslave')
-rw-r--r--tdeioslave/imap4/rfcdecoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeioslave/imap4/rfcdecoder.cc b/tdeioslave/imap4/rfcdecoder.cc
index 08b641b7d..41a50ec10 100644
--- a/tdeioslave/imap4/rfcdecoder.cc
+++ b/tdeioslave/imap4/rfcdecoder.cc
@@ -591,7 +591,7 @@ rfcDecoder::encodeRFC2231String (const TQString & _str)
}
if (!*l) {
free(latin);
- return _str.ascii ();
+ return _str;
}
TQCString result;
l = latin;