- Don't ERR on a used connection being destroyed.

- Don't print an extra newline in the olerelay code.
This commit is contained in:
Mike Hearn 2004-06-23 00:10:29 +00:00 committed by Alexandre Julliard
parent 48210fc3e4
commit 86cc2d54c7
2 changed files with 2 additions and 3 deletions

View file

@ -1151,7 +1151,7 @@ xCall(LPVOID retptr, int method, TMProxyImpl *tpinfo /*, args */) {
}
if (relaydeb) {
TRACE_(olerelay)("\n->");
TRACE_(olerelay)("->");
if (iname)
TRACE_(olerelay)("%s:",relaystr(iname));
if (fname)
@ -1339,7 +1339,7 @@ xCall(LPVOID retptr, int method, TMProxyImpl *tpinfo /*, args */) {
xargs += _argsize(elem->tdesc.vt);
}
}
if (relaydeb) TRACE_(olerelay)(")\n\n");
if (relaydeb) TRACE_(olerelay)(")\n");
HeapFree(GetProcessHeap(),0,buf.base);
return status;
}

View file

@ -120,7 +120,6 @@ RPC_STATUS RPCRT4_CreateConnection(RpcConnection** Connection, BOOL server, LPST
RPC_STATUS RPCRT4_DestroyConnection(RpcConnection* Connection)
{
TRACE("connection: %p\n", Connection);
if (Connection->Used) ERR("connection is still in use\n");
RPCRT4_CloseConnection(Connection);
RPCRT4_strfree(Connection->Endpoint);