Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
486fd1f6
Commit
486fd1f6
authored
Mar 04, 2005
by
Mike Hearn
Committed by
Alexandre Julliard
Mar 04, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress some useless warnings in the RPC runtime, and make a few
TRACEs that were reporting problems into WARNs.
parent
726df300
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+3
-3
No files found.
dlls/rpcrt4/rpc_binding.c
View file @
486fd1f6
...
...
@@ -173,13 +173,13 @@ RPC_STATUS RPCRT4_OpenConnection(RpcConnection* Connection)
memset
(
&
Connection
->
ovl
,
0
,
sizeof
(
Connection
->
ovl
));
Connection
->
ovl
.
hEvent
=
CreateEventW
(
NULL
,
TRUE
,
FALSE
,
NULL
);
if
(
!
ConnectNamedPipe
(
Connection
->
conn
,
&
Connection
->
ovl
))
{
WARN
(
"Couldn't ConnectNamedPipe (error was %ld)
\n
"
,
GetLastError
());
if
(
GetLastError
()
==
ERROR_PIPE_CONNECTED
)
{
SetEvent
(
Connection
->
ovl
.
hEvent
);
return
RPC_S_OK
;
}
else
if
(
GetLastError
()
==
ERROR_IO_PENDING
)
{
return
RPC_S_OK
;
}
WARN
(
"Couldn't ConnectNamedPipe (error was %ld)
\n
"
,
GetLastError
());
return
RPC_S_SERVER_UNAVAILABLE
;
}
}
...
...
@@ -213,7 +213,7 @@ RPC_STATUS RPCRT4_OpenConnection(RpcConnection* Connection)
return
RPC_S_SERVER_TOO_BUSY
;
}
else
{
err
=
GetLastError
();
TRACE
(
"connection failed, error=%lx
\n
"
,
err
);
WARN
(
"connection failed, error=%lx
\n
"
,
err
);
HeapFree
(
GetProcessHeap
(),
0
,
pname
);
return
RPC_S_SERVER_UNAVAILABLE
;
}
...
...
@@ -245,7 +245,7 @@ RPC_STATUS RPCRT4_OpenConnection(RpcConnection* Connection)
err
=
GetLastError
();
/* we don't need to handle ERROR_PIPE_BUSY here,
* the doc says that it is returned to the app */
TRACE
(
"connection failed, error=%lx
\n
"
,
err
);
WARN
(
"connection failed, error=%lx
\n
"
,
err
);
HeapFree
(
GetProcessHeap
(),
0
,
pname
);
if
(
err
==
ERROR_PIPE_BUSY
)
return
RPC_S_SERVER_TOO_BUSY
;
...
...
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