Rob Shearman : inetcomm: Add an implementation of ISMTPTransport2:: CommandRSET.

Alexandre Julliard julliard at winehq.org
Fri Oct 31 09:24:33 CDT 2008


Module: wine
Branch: master
Commit: 7b0bbc4dd62541e2313c63c7d4086baca1c211ee
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7b0bbc4dd62541e2313c63c7d4086baca1c211ee

Author: Rob Shearman <rob at codeweavers.com>
Date:   Fri Oct 31 13:51:47 2008 +0100

inetcomm: Add an implementation of ISMTPTransport2::CommandRSET.

---

 dlls/inetcomm/smtptransport.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dlls/inetcomm/smtptransport.c b/dlls/inetcomm/smtptransport.c
index 014fd8b..9e0a278 100644
--- a/dlls/inetcomm/smtptransport.c
+++ b/dlls/inetcomm/smtptransport.c
@@ -833,8 +833,12 @@ static HRESULT WINAPI SMTPTransport_CommandQUIT(ISMTPTransport2 *iface)
 
 static HRESULT WINAPI SMTPTransport_CommandRSET(ISMTPTransport2 *iface)
 {
-    FIXME("()\n");
-    return E_NOTIMPL;
+    SMTPTransport *This = (SMTPTransport *)iface;
+
+    TRACE("()\n");
+
+    return InternetTransport_DoCommand(&This->InetTransport, "RSET\n",
+        SMTPTransport_CallbackReadResponseDoNothing);
 }
 
 static HRESULT WINAPI SMTPTransport_CommandDATA(ISMTPTransport2 *iface)




More information about the wine-cvs mailing list