https://git.reactos.org/?p=reactos.git;a=commitdiff;h=88221e598ae6563fbe7ed70bb98fa8bf30263d4f

commit 88221e598ae6563fbe7ed70bb98fa8bf30263d4f
Author:     Amine Khaldi <[email protected]>
AuthorDate: Fri Jan 19 00:39:56 2018 +0100
Commit:     Amine Khaldi <[email protected]>
CommitDate: Fri Jan 19 00:39:56 2018 +0100

    [INETCOMM] Sync with Wine 3.0. CORE-14225
---
 dll/win32/inetcomm/smtptransport.c | 8 +-------
 media/doc/README.WINE              | 2 +-
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/dll/win32/inetcomm/smtptransport.c 
b/dll/win32/inetcomm/smtptransport.c
index 3a0051fcfe..b3b60f3f88 100644
--- a/dll/win32/inetcomm/smtptransport.c
+++ b/dll/win32/inetcomm/smtptransport.c
@@ -44,13 +44,7 @@ static HRESULT SMTPTransport_ParseResponse(SMTPTransport 
*This, char *pszRespons
     pResponse->rIxpResult.pszResponse = pszResponse;
     pResponse->rIxpResult.dwSocketError = 0;
     pResponse->rIxpResult.uiServerError = strtol(pszResponse, &pszResponse, 
10);
-    if (*pszResponse == '-')
-    {
-        pResponse->fDone = FALSE;
-        pszResponse++;
-    }
-    else
-        pResponse->fDone = TRUE;
+    pResponse->fDone = (*pszResponse != '-');
 
     switch (pResponse->rIxpResult.uiServerError)
     {
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index 83a7f59101..15d8e3f5d3 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -78,7 +78,7 @@ reactos/dll/win32/ieframe             # Synced to Wine-3.0
 reactos/dll/win32/imaadp32.acm        # Synced to WineStaging-2.16
 reactos/dll/win32/imagehlp            # Synced to Wine-3.0
 reactos/dll/win32/imm32               # Synced to Wine-2.22
-reactos/dll/win32/inetcomm            # Synced to WineStaging-2.16
+reactos/dll/win32/inetcomm            # Synced to Wine-3.0
 reactos/dll/win32/inetmib1            # Synced to WineStaging-2.9
 reactos/dll/win32/initpki             # Synced to WineStaging-2.9
 reactos/dll/win32/inseng              # Synced to WineStaging-2.9

Reply via email to