summaryrefslogtreecommitdiffstats
path: root/libmail/nntp.C
diff options
context:
space:
mode:
Diffstat (limited to 'libmail/nntp.C')
-rw-r--r--libmail/nntp.C10
1 files changed, 5 insertions, 5 deletions
diff --git a/libmail/nntp.C b/libmail/nntp.C
index 3f7d92d..0ef8203 100644
--- a/libmail/nntp.C
+++ b/libmail/nntp.C
@@ -761,7 +761,7 @@ bool mail::nntp::fixGenericMessageNumber(std::string uid, size_t &msgNum)
}
--msgNum;
}
-
+
while (n > index[msgNum].msgNum)
if (++msgNum >= cnt)
{
@@ -1135,8 +1135,8 @@ void mail::nntp::searchMessages(const searchParams &searchInfo,
char *p;
size_t psize;
- h=unicode_convert_fromu_init("iso-8859-1",
- &p, &psize, 1);
+ h=unicode_convert_fromu_init("utf-8",
+ &p, &psize, 1);
if (h)
{
@@ -1314,7 +1314,7 @@ bool mail::nntp::genericCachedUid(string uid)
{
return genericTmpFp && uid == cachedUid;
}
-
+
void mail::nntp::genericGetMessageStruct(string uid,
size_t messageNumber,
struct rfc2045 *&structRet,
@@ -1395,7 +1395,7 @@ void mail::nntp::Task::done()
throw;
}
-
+
myserver=NULL;
delete this;
}