Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
96c0c6c5
Commit
96c0c6c5
authored
Oct 29, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Store WININETAPPINFOW pointer in WININETFTPSESSIONW.
parent
61a1cef6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
ftp.c
dlls/wininet/ftp.c
+5
-0
internet.h
dlls/wininet/internet.h
+1
-0
No files found.
dlls/wininet/ftp.c
View file @
96c0c6c5
...
...
@@ -1728,6 +1728,9 @@ HINTERNET FTP_Connect(LPWININETAPPINFOW hIC, LPCWSTR lpszServerName,
lpwfs
->
hdr
.
lpfnStatusCB
=
hIC
->
hdr
.
lpfnStatusCB
;
lpwfs
->
download_in_progress
=
NULL
;
WININET_AddRef
(
&
hIC
->
hdr
);
lpwfs
->
lpAppInfo
=
hIC
;
handle
=
WININET_AllocHandle
(
&
lpwfs
->
hdr
);
if
(
!
handle
)
{
...
...
@@ -2685,6 +2688,8 @@ static void FTP_CloseSessionHandle(LPWININETHANDLEHEADER hdr)
TRACE
(
"
\n
"
);
WININET_Release
(
&
lpwfs
->
lpAppInfo
->
hdr
);
if
(
lpwfs
->
download_in_progress
!=
NULL
)
lpwfs
->
download_in_progress
->
session_deleted
=
TRUE
;
...
...
dlls/wininet/internet.h
View file @
96c0c6c5
...
...
@@ -213,6 +213,7 @@ typedef struct
typedef
struct
{
WININETHANDLEHEADER
hdr
;
WININETAPPINFOW
*
lpAppInfo
;
int
sndSocket
;
int
lstnSocket
;
int
pasvSocket
;
/* data socket connected by us in case of passive FTP */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment