[08/14] inetcomm: Add an implementation of ISMTPTransport2::CommandRSET.

Hans Leidekker hans at codeweavers.com
Fri Oct 31 07:51:47 CDT 2008


Changelog
 Rob Shearman <rob at codeweavers.com>
 Add an implementation of ISMTPTransport2::CommandRSET.

 -Hans

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-patches mailing list