http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76c61cf
)
wininet: Be sure to set lpwfs->pasvSocket to -1 when closing the socket to prevent...
author
Aric Stewart
<aric@codeweavers.com>
Thu, 17 Sep 2009 12:42:37 +0000
(07:42 -0500)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 17 Sep 2009 15:10:33 +0000
(10:10 -0500)
dlls/wininet/ftp.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/wininet/ftp.c
b/dlls/wininet/ftp.c
index 37667198738b0cf227bc5f025ec941116df7e4a1..8894add0500013cfa8d597d17a9f79032d8fc22b 100644
(file)
--- a/
dlls/wininet/ftp.c
+++ b/
dlls/wininet/ftp.c
@@
-3112,6
+3112,7
@@
static BOOL FTP_GetDataSocket(ftp_session_t *lpwfs, LPINT nDataSocket)
if (lpwfs->hdr.dwFlags & INTERNET_FLAG_PASSIVE)
{
*nDataSocket = lpwfs->pasvSocket;
+ lpwfs->pasvSocket = -1;
}
else
{