[csmaild-cvs] csmaild/src/Imap/Commands CheckCommand.cs,1.5,1.6 CloseCommand.cs,1.5,1.6
Brought to you by:
tamc
|
From: <ta...@us...> - 2003-08-05 02:40:42
|
Update of /cvsroot/csmaild/csmaild/src/Imap/Commands
In directory sc8-pr-cvs1:/tmp/cvs-serv9078/src/Imap/Commands
Modified Files:
CheckCommand.cs CloseCommand.cs
Log Message:
Index: CheckCommand.cs
===================================================================
RCS file: /cvsroot/csmaild/csmaild/src/Imap/Commands/CheckCommand.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CheckCommand.cs 29 Jul 2003 00:46:28 -0000 1.5
--- CheckCommand.cs 5 Aug 2003 02:40:40 -0000 1.6
***************
*** 14,18 ****
override protected void InternalProcess()
{
! //return false;
}
}
--- 14,18 ----
override protected void InternalProcess()
{
! mConnection.SendTaggedMessage("OK CHECK completed");
}
}
Index: CloseCommand.cs
===================================================================
RCS file: /cvsroot/csmaild/csmaild/src/Imap/Commands/CloseCommand.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CloseCommand.cs 29 Jul 2003 00:46:28 -0000 1.5
--- CloseCommand.cs 5 Aug 2003 02:40:40 -0000 1.6
***************
*** 14,18 ****
override protected void InternalProcess()
{
! //return false;
}
}
--- 14,28 ----
override protected void InternalProcess()
{
! for(uint idx = 1; idx <= mConnection.Mailbox.Messages.Count;)
! {
! if(mConnection.Mailbox.Messages.BySeq(idx).Deleted)
! mConnection.Mailbox.Messages.Delete(idx);
! else
! ++idx;
! }
!
! mConnection.State = ImapConnectionState.Authenticated;
!
! mConnection.SendTaggedMessage("OK CLOSE completed");
}
}
|