Phil Lodwick : wininet: ftp: 125 is an acceptable response code for the STORE command.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jun 8 05:06:04 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 5ea41cc5fbd3f182a6b1903a24ccc6ecb6ecfc52
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=5ea41cc5fbd3f182a6b1903a24ccc6ecb6ecfc52

Author: Phil Lodwick <Phil.Lodwick at EFI.COM>
Date:   Wed Jun  7 14:43:50 2006 -0500

wininet: ftp: 125 is an acceptable response code for the STORE command.

---

 dlls/wininet/ftp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index 3875898..828f1e5 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -2098,7 +2098,7 @@ static BOOL FTP_SendStore(LPWININETFTPSE
     nResCode = FTP_ReceiveResponse(lpwfs, lpwfs->hdr.dwContext);
     if (nResCode)
     {
-        if (nResCode == 150)
+        if (nResCode == 150 || nResCode == 125)
             bSuccess = TRUE;
 	else
             FTP_SetResponseError(nResCode);




More information about the wine-cvs mailing list