*** empty log message ***

This commit is contained in:
dockes
2005-11-23 10:19:19 +00:00
parent 698fade930
commit 4bea1948ae
7 changed files with 17 additions and 13 deletions
+6 -2
View File
@@ -1,5 +1,5 @@
#ifndef lint
static char rcsid [] = "@(#$Id: debuglog.cpp,v 1.1 2005-11-12 14:24:33 dockes Exp $ (C) 2002 OKYZ";
static char rcsid [] = "@(#$Id: debuglog.cpp,v 1.2 2005-11-23 10:15:18 dockes Exp $ (C) 2002 OKYZ";
#endif
#ifndef TEST_DEBUGLOG
@@ -173,7 +173,11 @@ DebugLog::prolog(int lev, const char *f, int line)
char buf[100];
sprintf(buf, ":%d:", lev);
writer->put(buf);
#if DEBUGLOG_USE_THREADS
#if DEBUGLOG_SHOW_PID
sprintf(buf, "%d:", getpid());
writer->put(buf);
#endif
#if DEBUGLOG_SHOW_THREAD
sprintf(buf, "%lx:", (unsigned long)pthread_self());
writer->put(buf);
#endif
+3 -3
View File
@@ -1,5 +1,5 @@
#ifndef lint
static char rcsid[] = "@(#$Id: mimeparse.cpp,v 1.6 2005-11-06 11:16:53 dockes Exp $ (C) 2004 J.F.Dockes";
static char rcsid[] = "@(#$Id: mimeparse.cpp,v 1.7 2005-11-23 10:17:15 dockes Exp $ (C) 2004 J.F.Dockes";
#endif
#ifndef TEST_MIMEPARSE
@@ -318,7 +318,7 @@ bool rfc2047_decode(const std::string& in, std::string &out)
// we sometimes find 8-bit chars in
// there. Interpret as Iso8859.
if (value.length() > 0) {
transcode(value, utf8, "ISO8859-1", "UTF-8");
transcode(value, utf8, "ISO-8859-1", "UTF-8");
out += utf8;
value = "";
}
@@ -378,7 +378,7 @@ bool rfc2047_decode(const std::string& in, std::string &out)
}
if (value.length() > 0) {
transcode(value, utf8, "ISO8859-1", "UTF-8");
transcode(value, utf8, "ISO-8859-1", "UTF-8");
out += utf8;
value = "";
}