[Csmail-patches] CVS: csmail/src/CSMail.Utils ChangeLog,1.26,1.27 MimeUtils.cs,1.7,1.8
Status: Pre-Alpha
Brought to you by:
mastergaurav
From: Gaurav V. <mas...@us...> - 2003-02-06 19:16:24
|
Update of /cvsroot/csmail/csmail/src/CSMail.Utils In directory sc8-pr-cvs1:/tmp/cvs-serv30201 Modified Files: ChangeLog MimeUtils.cs Log Message: 2003-02-07 * MimeUtils.cs : UpdateHeaders(IMimePart) - Need for typcast to ContentType. Index: ChangeLog =================================================================== RCS file: /cvsroot/csmail/csmail/src/CSMail.Utils/ChangeLog,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- ChangeLog 6 Feb 2003 19:12:05 -0000 1.26 +++ ChangeLog 6 Feb 2003 19:16:17 -0000 1.27 @@ -1,4 +1,9 @@ +2003-02-07 Gaurav Vaish <mastergaurav AT users DOT sf DOT net> + + * MimeUtils.cs : UpdateHeaders(IMimePart) - Need + for typcast to ContentType. + 2003-02-06 Gaurav Vaish <mastergaurav AT users DOT sf DOT net> * MimeUtils.cs : UpdateHeaders(IMimePart) - No need Index: MimeUtils.cs =================================================================== RCS file: /cvsroot/csmail/csmail/src/CSMail.Utils/MimeUtils.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- MimeUtils.cs 6 Feb 2003 19:12:06 -0000 1.7 +++ MimeUtils.cs 6 Feb 2003 19:16:19 -0000 1.8 @@ -263,7 +263,7 @@ { isMatched = true; } - if(!isMatched && ct == null) + if(!isMatched && ct == (ContentType)null) { ct = new ContentType("text/plain"); string charSet = ""; @@ -277,7 +277,7 @@ } ct.Parameters["charset"] = charSet; } - if(ct == null) + if(ct == (ContentType)null) { ContentDisposition cd = mimePart.Disposition; ct = new ContentType("text/plain"); |