Diffstat (limited to 'noncore/net/mail/libmailwrapper/mailwrapper.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/mailwrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/libmailwrapper/mailwrapper.cpp b/noncore/net/mail/libmailwrapper/mailwrapper.cpp index f8efd09..6479783 100644 --- a/noncore/net/mail/libmailwrapper/mailwrapper.cpp +++ b/noncore/net/mail/libmailwrapper/mailwrapper.cpp | |||
@@ -52,13 +52,13 @@ static unsigned char base64chars[] = | |||
52 | QString IMAPFolder::decodeFolderName( const QString &name ) | 52 | QString IMAPFolder::decodeFolderName( const QString &name ) |
53 | { | 53 | { |
54 | unsigned char c, i, bitcount; | 54 | unsigned char c, i, bitcount; |
55 | unsigned long ucs4, utf16, bitbuf; | 55 | unsigned long ucs4, utf16, bitbuf; |
56 | unsigned char base64[256], utf8[6]; | 56 | unsigned char base64[256], utf8[6]; |
57 | unsigned long srcPtr = 0; | 57 | unsigned long srcPtr = 0; |
58 | QCString dst; | 58 | QCString dst = ""; |
59 | QCString src = name.ascii(); | 59 | QCString src = name.ascii(); |
60 | 60 | ||
61 | /* initialize modified base64 decoding table */ | 61 | /* initialize modified base64 decoding table */ |
62 | memset(base64, UNDEFINED, sizeof(base64)); | 62 | memset(base64, UNDEFINED, sizeof(base64)); |
63 | for (i = 0; i < sizeof(base64chars); ++i) { | 63 | for (i = 0; i < sizeof(base64chars); ++i) { |
64 | base64[(int)base64chars[i]] = i; | 64 | base64[(int)base64chars[i]] = i; |