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
51ba2927
Commit
51ba2927
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 WININETFTPSESSIONW pointer in WININETFTPFINDNEXTW.
parent
91312d7d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
ftp.c
dlls/wininet/ftp.c
+5
-0
internet.c
dlls/wininet/internet.c
+1
-5
internet.h
dlls/wininet/internet.h
+1
-0
No files found.
dlls/wininet/ftp.c
View file @
51ba2927
...
@@ -2780,6 +2780,8 @@ static void FTP_CloseFindNextHandle(LPWININETHANDLEHEADER hdr)
...
@@ -2780,6 +2780,8 @@ static void FTP_CloseFindNextHandle(LPWININETHANDLEHEADER hdr)
TRACE
(
"
\n
"
);
TRACE
(
"
\n
"
);
WININET_Release
(
&
lpwfn
->
lpFtpSession
->
hdr
);
for
(
i
=
0
;
i
<
lpwfn
->
size
;
i
++
)
for
(
i
=
0
;
i
<
lpwfn
->
size
;
i
++
)
{
{
HeapFree
(
GetProcessHeap
(),
0
,
lpwfn
->
lpafp
[
i
].
lpszName
);
HeapFree
(
GetProcessHeap
(),
0
,
lpwfn
->
lpafp
[
i
].
lpszName
);
...
@@ -2858,6 +2860,9 @@ static HINTERNET FTP_ReceiveFileList(LPWININETFTPSESSIONW lpwfs, INT nSocket, LP
...
@@ -2858,6 +2860,9 @@ static HINTERNET FTP_ReceiveFileList(LPWININETFTPSESSIONW lpwfs, INT nSocket, LP
lpwfn
->
size
=
dwSize
;
lpwfn
->
size
=
dwSize
;
lpwfn
->
lpafp
=
lpafp
;
lpwfn
->
lpafp
=
lpafp
;
WININET_AddRef
(
&
lpwfs
->
hdr
);
lpwfn
->
lpFtpSession
=
lpwfs
;
handle
=
WININET_AllocHandle
(
&
lpwfn
->
hdr
);
handle
=
WININET_AllocHandle
(
&
lpwfn
->
hdr
);
}
}
}
}
...
...
dlls/wininet/internet.c
View file @
51ba2927
...
@@ -74,10 +74,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wininet);
...
@@ -74,10 +74,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wininet);
#define MAX_WORKER_THREADS 10
#define MAX_WORKER_THREADS 10
#define RESPONSE_TIMEOUT 30
#define RESPONSE_TIMEOUT 30
#define GET_HWININET_FROM_LPWININETFINDNEXT(lpwh) \
(((LPWININETFTPSESSIONW)(lpwh->hdr.lpwhparent))->lpAppInfo)
typedef
struct
typedef
struct
{
{
DWORD
dwError
;
DWORD
dwError
;
...
@@ -955,7 +951,7 @@ BOOL WINAPI InternetFindNextFileW(HINTERNET hFind, LPVOID lpvFindData)
...
@@ -955,7 +951,7 @@ BOOL WINAPI InternetFindNextFileW(HINTERNET hFind, LPVOID lpvFindData)
goto
lend
;
goto
lend
;
}
}
hIC
=
GET_HWININET_FROM_LPWININETFINDNEXT
(
lpwh
)
;
hIC
=
lpwh
->
lpFtpSession
->
lpAppInfo
;
if
(
hIC
->
hdr
.
dwFlags
&
INTERNET_FLAG_ASYNC
)
if
(
hIC
->
hdr
.
dwFlags
&
INTERNET_FLAG_ASYNC
)
{
{
WORKREQUEST
workRequest
;
WORKREQUEST
workRequest
;
...
...
dlls/wininet/internet.h
View file @
51ba2927
...
@@ -238,6 +238,7 @@ typedef struct
...
@@ -238,6 +238,7 @@ typedef struct
typedef
struct
typedef
struct
{
{
WININETHANDLEHEADER
hdr
;
WININETHANDLEHEADER
hdr
;
WININETFTPSESSIONW
*
lpFtpSession
;
DWORD
index
;
DWORD
index
;
DWORD
size
;
DWORD
size
;
LPFILEPROPERTIESW
lpafp
;
LPFILEPROPERTIESW
lpafp
;
...
...
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