summaryrefslogtreecommitdiff
authorconber <conber>2002-06-15 10:25:10 (UTC)
committer conber <conber>2002-06-15 10:25:10 (UTC)
commit95af3cd6c1a68ddd9200d4f7e25baf5c560f071c (patch) (side-by-side diff)
treec24008f1524e137b42d8762e2b73f353e17c9824
parent46a46dde707b08e1422757df00b1fb1941e49d4f (diff)
downloadopie-95af3cd6c1a68ddd9200d4f7e25baf5c560f071c.zip
opie-95af3cd6c1a68ddd9200d4f7e25baf5c560f071c.tar.gz
opie-95af3cd6c1a68ddd9200d4f7e25baf5c560f071c.tar.bz2
changed include error
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/libmail/miscfunctions.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/unsupported/mail2/libmail/miscfunctions.cpp b/noncore/unsupported/mail2/libmail/miscfunctions.cpp
index 0edbfa8..c81b101 100644
--- a/noncore/unsupported/mail2/libmail/miscfunctions.cpp
+++ b/noncore/unsupported/mail2/libmail/miscfunctions.cpp
@@ -1,33 +1,32 @@
#include <qdatetime.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
-#include <openssl/md5.h>
-
#include "miscfunctions.h"
+#include "md5.h"
QString MiscFunctions::encodeQPrintable(const QString &src)
{
// TODO: implent encodeQPrintable
return src;
}
QString MiscFunctions::decodeQPrintable(const QString &src)
{
QString out;
for (unsigned int i = 0; i <= src.length(); i++) {
if (src[i] == '=') {
if (src[i+1] == "\n") {
i += 1;
} else {
QString temp = QString("%1%2").arg(src[i+1]).arg(src[i+2]);
int number = temp.toInt(0, 16);
out += QChar(number);
i += 2;
}
} else {
out += src[i];