Revision: 166
http://svn.sourceforge.net/nmailserver/?rev=166&view=rev
Author: tmyroadctfig
Date: 2007-03-04 00:42:03 -0800 (Sun, 04 Mar 2007)
Log Message:
-----------
Fixed defect in the RSET command (BUG 1673354).
Modified Paths:
--------------
NMail/trunk/NMail.SmtpService/Command/ResetCommand.cs
Modified: NMail/trunk/NMail.SmtpService/Command/ResetCommand.cs
===================================================================
--- NMail/trunk/NMail.SmtpService/Command/ResetCommand.cs 2007-03-04 08:36:21 UTC (rev 165)
+++ NMail/trunk/NMail.SmtpService/Command/ResetCommand.cs 2007-03-04 08:42:03 UTC (rev 166)
@@ -17,6 +17,7 @@
using System;
using System.Collections.Generic;
+using System.Net;
using System.Text;
using NMail.DataTypes;
@@ -54,6 +55,8 @@
}
session.Message = new SmtpMessage();
+ session.Message.ReportedHost = session.ReportedHost;
+ session.Message.SourceAddress = session.ClientAddress;
session.Connection.Ok();
} else {
throw new ApplicationException("Invalid command syntax");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|