[Mono-dev] Accidental changes in commit 91959?

Juraj Skripsky js at hotfeet.ch
Thu Jan 3 11:29:36 EST 2008


Hi Miguel,

I've noticed that you made the following change to
System.Net.Mail/SmtpClient.cs in commit 91959*:

--- trunk/mcs/class/System/System.Net.Mail/SmtpClient.cs	2007/12/06 14:22:51	90809
+++ trunk/mcs/class/System/System.Net.Mail/SmtpClient.cs	2007/12/27 18:30:23	91959
@@ -275,7 +275,7 @@
 
 		private string EncodeBody (AlternateView av)
 		{
-			Encoding encoding = av.ContentType.CharSet != null ? Encoding.GetEncoding (av.ContentType.CharSet) : Encoding.UTF8;
+			//Encoding encoding = av.ContentType.CharSet != null ? Encoding.GetEncoding (av.ContentType.CharSet) : Encoding.UTF8;
 
 			byte [] bytes = new byte [av.ContentStream.Length];
 			av.ContentStream.Read (bytes, 0, bytes.Length);


The Changelog only describes a change to WebClient.cs. There are also
two small changes to HttpListenerContext.cs without Changelog entry.

Were those changes intended and what's the motivation/Changelog behind
them?

- Juraj


*) http://anonsvn.mono-project.com/viewcvs/trunk/mcs/class/System/System.Net.Mail/SmtpClient.cs?rev=91959&view=log





More information about the Mono-devel-list mailing list