Update of /cvsroot/mahogany/M/src/mail
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28743/src/mail
Modified Files:
MimePartCCBase.cpp
Log Message:
fixed bug when returning cached MIME part contents
Index: MimePartCCBase.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MimePartCCBase.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -u -2 -r1.1 -r1.2
--- MimePartCCBase.cpp 13 Jul 2004 21:58:41 -0000 1.1
+++ MimePartCCBase.cpp 14 Jul 2004 13:23:00 -0000 1.2
@@ -52,4 +52,5 @@
m_content = NULL;
+ m_lenContent = 0;
m_ownsContent = false;
@@ -283,5 +284,9 @@
// first check if we don't already have it
if ( m_content )
+ {
+ *lenptr = m_lenContent;
+
return m_content;
+ }
// no, get the raw text
@@ -436,4 +441,6 @@
}
+ m_lenContent = *lenptr;
+
return m_content;
}
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates