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
c4aa47ba
Commit
c4aa47ba
authored
Dec 25, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Use proc instead of enum in FTPCREATEDIRECTORY request.
parent
f28b0e3b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
15 deletions
+13
-15
ftp.c
dlls/wininet/ftp.c
+13
-1
internet.c
dlls/wininet/internet.c
+0
-13
internet.h
dlls/wininet/internet.h
+0
-1
No files found.
dlls/wininet/ftp.c
View file @
c4aa47ba
...
...
@@ -499,6 +499,17 @@ BOOL WINAPI FtpCreateDirectoryA(HINTERNET hConnect, LPCSTR lpszDirectory)
* FALSE on failure
*
*/
static
void
AsyncFtpCreateDirectoryProc
(
WORKREQUEST
*
workRequest
)
{
struct
WORKREQ_FTPCREATEDIRECTORYW
const
*
req
=
&
workRequest
->
u
.
FtpCreateDirectoryW
;
LPWININETFTPSESSIONW
lpwfs
=
(
LPWININETFTPSESSIONW
)
workRequest
->
hdr
;
TRACE
(
" %p
\n
"
,
lpwfs
);
FTP_FtpCreateDirectoryW
(
lpwfs
,
req
->
lpszDirectory
);
HeapFree
(
GetProcessHeap
(),
0
,
req
->
lpszDirectory
);
}
BOOL
WINAPI
FtpCreateDirectoryW
(
HINTERNET
hConnect
,
LPCWSTR
lpszDirectory
)
{
LPWININETFTPSESSIONW
lpwfs
;
...
...
@@ -518,7 +529,8 @@ BOOL WINAPI FtpCreateDirectoryW(HINTERNET hConnect, LPCWSTR lpszDirectory)
WORKREQUEST
workRequest
;
struct
WORKREQ_FTPCREATEDIRECTORYW
*
req
;
workRequest
.
asyncall
=
FTPCREATEDIRECTORYW
;
workRequest
.
asyncall
=
CALLASYNCPROC
;
workRequest
.
asyncproc
=
AsyncFtpCreateDirectoryProc
;
workRequest
.
hdr
=
WININET_AddRef
(
&
lpwfs
->
hdr
);
req
=
&
workRequest
.
u
.
FtpCreateDirectoryW
;
req
->
lpszDirectory
=
WININET_strdupW
(
lpszDirectory
);
...
...
dlls/wininet/internet.c
View file @
c4aa47ba
...
...
@@ -3243,19 +3243,6 @@ static VOID INTERNET_ExecuteWork(void)
workRequest
.
asyncproc
(
&
workRequest
);
break
;
case
FTPCREATEDIRECTORYW
:
{
struct
WORKREQ_FTPCREATEDIRECTORYW
*
req
;
LPWININETFTPSESSIONW
lpwfs
=
(
LPWININETFTPSESSIONW
)
workRequest
.
hdr
;
TRACE
(
"FTPCREATEDIRECTORYW %p
\n
"
,
lpwfs
);
req
=
&
workRequest
.
u
.
FtpCreateDirectoryW
;
FTP_FtpCreateDirectoryW
(
lpwfs
,
req
->
lpszDirectory
);
HeapFree
(
GetProcessHeap
(),
0
,
req
->
lpszDirectory
);
}
break
;
case
FTPFINDFIRSTFILEW
:
{
struct
WORKREQ_FTPFINDFIRSTFILEW
*
req
;
...
...
dlls/wininet/internet.h
View file @
c4aa47ba
...
...
@@ -250,7 +250,6 @@ typedef struct
typedef
enum
{
CALLASYNCPROC
,
FTPCREATEDIRECTORYW
,
FTPFINDFIRSTFILEW
,
FTPGETCURRENTDIRECTORYW
,
FTPOPENFILEW
,
...
...
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