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
e9d5e550
Commit
e9d5e550
authored
Nov 10, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Avoid a sizeof in a trace.
parent
61967ff4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rpc_message.c
dlls/rpcrt4/rpc_message.c
+1
-1
No files found.
dlls/rpcrt4/rpc_message.c
View file @
e9d5e550
...
@@ -517,7 +517,7 @@ RPC_STATUS RPCRT4_Receive(RpcConnection *Connection, RpcPktHdr **Header,
...
@@ -517,7 +517,7 @@ RPC_STATUS RPCRT4_Receive(RpcConnection *Connection, RpcPktHdr **Header,
/* read the rest of packet header */
/* read the rest of packet header */
dwRead
=
rpcrt4_conn_read
(
Connection
,
&
(
*
Header
)
->
common
+
1
,
hdr_length
-
sizeof
(
common_hdr
));
dwRead
=
rpcrt4_conn_read
(
Connection
,
&
(
*
Header
)
->
common
+
1
,
hdr_length
-
sizeof
(
common_hdr
));
if
(
dwRead
!=
hdr_length
-
sizeof
(
common_hdr
))
{
if
(
dwRead
!=
hdr_length
-
sizeof
(
common_hdr
))
{
WARN
(
"bad header length, %d
/%d bytes
\n
"
,
dwRead
,
hdr_length
-
sizeof
(
common_hdr
)
);
WARN
(
"bad header length, %d
bytes, hdr_length %d
\n
"
,
dwRead
,
hdr_length
);
status
=
RPC_S_PROTOCOL_ERROR
;
status
=
RPC_S_PROTOCOL_ERROR
;
goto
fail
;
goto
fail
;
}
}
...
...
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