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
6431b958
Commit
6431b958
authored
Jul 13, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Use nameless unions/structs.
parent
c4881640
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
11 deletions
+7
-11
mimeintl.c
dlls/inetcomm/mimeintl.c
+0
-1
mimeole.c
dlls/inetcomm/mimeole.c
+5
-6
pop3transport.c
dlls/inetcomm/pop3transport.c
+0
-1
protocol.c
dlls/inetcomm/protocol.c
+2
-3
No files found.
dlls/inetcomm/mimeintl.c
View file @
6431b958
...
...
@@ -19,7 +19,6 @@
*/
#define COBJMACROS
#define NONAMELESSUNION
#include <stdarg.h>
#include <stdio.h>
...
...
dlls/inetcomm/mimeole.c
View file @
6431b958
...
...
@@ -20,7 +20,6 @@
*/
#define COBJMACROS
#define NONAMELESSUNION
#include <stdarg.h>
#include <stdio.h>
...
...
@@ -267,7 +266,7 @@ static HRESULT WINAPI sub_stream_Seek(
sub_stream_t
*
This
=
impl_from_IStream
(
iface
);
LARGE_INTEGER
new_pos
;
TRACE
(
"(%08lx.%08lx, %lx, %p)
\n
"
,
dlibMove
.
u
.
HighPart
,
dlibMove
.
u
.
LowPart
,
dwOrigin
,
plibNewPosition
);
TRACE
(
"(%08lx.%08lx, %lx, %p)
\n
"
,
dlibMove
.
HighPart
,
dlibMove
.
LowPart
,
dwOrigin
,
plibNewPosition
);
switch
(
dwOrigin
)
{
...
...
@@ -314,7 +313,7 @@ static HRESULT WINAPI sub_stream_CopyTo(
ULARGE_INTEGER
totalBytesRead
;
ULARGE_INTEGER
totalBytesWritten
;
TRACE
(
"(%p)->(%p, %ld, %p, %p)
\n
"
,
iface
,
pstm
,
cb
.
u
.
LowPart
,
pcbRead
,
pcbWritten
);
TRACE
(
"(%p)->(%p, %ld, %p, %p)
\n
"
,
iface
,
pstm
,
cb
.
LowPart
,
pcbRead
,
pcbWritten
);
totalBytesRead
.
QuadPart
=
0
;
totalBytesWritten
.
QuadPart
=
0
;
...
...
@@ -324,7 +323,7 @@ static HRESULT WINAPI sub_stream_CopyTo(
if
(
cb
.
QuadPart
>=
sizeof
(
tmpBuffer
)
)
copySize
=
sizeof
(
tmpBuffer
);
else
copySize
=
cb
.
u
.
LowPart
;
copySize
=
cb
.
LowPart
;
hr
=
IStream_Read
(
iface
,
tmpBuffer
,
copySize
,
&
bytesRead
);
if
(
FAILED
(
hr
))
break
;
...
...
@@ -2063,7 +2062,7 @@ static HRESULT create_body_offset_list(IStream *stm, const char *boundary, struc
zero
.
QuadPart
=
0
;
hr
=
IStream_Seek
(
stm
,
zero
,
STREAM_SEEK_CUR
,
&
cur
);
start
=
cur
.
u
.
LowPart
;
start
=
cur
.
LowPart
;
do
{
hr
=
IStream_Read
(
stm
,
overlap
,
PARSER_BUF_SIZE
,
&
read
);
...
...
@@ -2218,7 +2217,7 @@ static HRESULT WINAPI MimeMessage_Load(IMimeMessage *iface, IStream *pStm)
zero
.
QuadPart
=
0
;
IStream_Seek
(
pStm
,
zero
,
STREAM_SEEK_END
,
&
cur
);
offsets
.
cbBodyEnd
=
cur
.
u
.
LowPart
;
offsets
.
cbBodyEnd
=
cur
.
LowPart
;
MimeBody_set_offsets
(
root_body
->
mime_body
,
&
offsets
);
list_add_head
(
&
This
->
body_tree
,
&
root_body
->
entry
);
...
...
dlls/inetcomm/pop3transport.c
View file @
6431b958
...
...
@@ -19,7 +19,6 @@
*/
#define COBJMACROS
#define NONAMELESSUNION
#include <stdarg.h>
#include <stdio.h>
...
...
dlls/inetcomm/protocol.c
View file @
6431b958
...
...
@@ -17,7 +17,6 @@
*/
#define COBJMACROS
#define NONAMELESSUNION
#include <assert.h>
...
...
@@ -316,7 +315,7 @@ static HRESULT WINAPI BindStatusCallback_OnDataAvailable(IBindStatusCallback *if
assert
(
pstgmed
->
tymed
==
TYMED_ISTREAM
);
while
(
1
)
{
hres
=
IStream_Read
(
pstgmed
->
u
.
pstm
,
buf
,
sizeof
(
buf
),
&
read
);
hres
=
IStream_Read
(
pstgmed
->
pstm
,
buf
,
sizeof
(
buf
),
&
read
);
if
(
FAILED
(
hres
))
return
hres
;
if
(
!
read
)
...
...
@@ -567,7 +566,7 @@ static HRESULT WINAPI MimeHtmlProtocol_Seek(IInternetProtocol *iface, LARGE_INTE
DWORD
dwOrigin
,
ULARGE_INTEGER
*
plibNewPosition
)
{
MimeHtmlProtocol
*
This
=
impl_from_IInternetProtocol
(
iface
);
FIXME
(
"(%p)->(%ld %ld %p)
\n
"
,
This
,
dlibMove
.
u
.
LowPart
,
dwOrigin
,
plibNewPosition
);
FIXME
(
"(%p)->(%ld %ld %p)
\n
"
,
This
,
dlibMove
.
LowPart
,
dwOrigin
,
plibNewPosition
);
return
E_NOTIMPL
;
}
...
...
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