[Dnsmail-cvs] dnsmail SmtpClient.cs,1.6,1.7
Brought to you by:
ethem
From: Ethem E. <et...@us...> - 2006-08-08 10:07:22
|
Update of /cvsroot/dnsmail/dnsmail In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv2951/dnsmail Modified Files: SmtpClient.cs Log Message: If send string is null don't compare with QUIT Index: SmtpClient.cs =================================================================== RCS file: /cvsroot/dnsmail/dnsmail/SmtpClient.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** SmtpClient.cs 7 Aug 2006 16:23:35 -0000 1.6 --- SmtpClient.cs 8 Aug 2006 10:07:18 -0000 1.7 *************** *** 436,442 **** public Commands SendAndReceive(String val) { ! bool quit = (val == quitcmd); if (val != null) { byte[] sendBuffer = Encoding.ASCII.GetBytes(val); Write(sendBuffer, 0, sendBuffer.Length); --- 436,443 ---- public Commands SendAndReceive(String val) { ! bool quit = false; if (val != null) { + quit = (val == quitcmd); byte[] sendBuffer = Encoding.ASCII.GetBytes(val); Write(sendBuffer, 0, sendBuffer.Length); |