- Trace the argument to RPCRT4_server_thread.
- ^null implies two indirections, we have one. - Ove's intent doesn't matter, the current implementation is right.
This commit is contained in:
parent
032bdc9f1d
commit
9e85bf3f87
|
@ -375,6 +375,8 @@ static DWORD CALLBACK RPCRT4_server_thread(LPVOID the_arg)
|
||||||
RpcConnection* conn;
|
RpcConnection* conn;
|
||||||
RpcConnection* cconn;
|
RpcConnection* cconn;
|
||||||
|
|
||||||
|
TRACE("(the_arg == ^%p)\n", the_arg);
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
EnterCriticalSection(&server_cs);
|
EnterCriticalSection(&server_cs);
|
||||||
/* open and count connections */
|
/* open and count connections */
|
||||||
|
@ -516,7 +518,7 @@ RPC_STATUS WINAPI RpcServerInqBindings( RPC_BINDING_VECTOR** BindingVector )
|
||||||
if (BindingVector)
|
if (BindingVector)
|
||||||
TRACE("(*BindingVector == ^%p)\n", *BindingVector);
|
TRACE("(*BindingVector == ^%p)\n", *BindingVector);
|
||||||
else
|
else
|
||||||
ERR("(BindingVector == ^null!!?)\n");
|
ERR("(BindingVector == NULL!!?)\n");
|
||||||
|
|
||||||
EnterCriticalSection(&server_cs);
|
EnterCriticalSection(&server_cs);
|
||||||
/* count connections */
|
/* count connections */
|
||||||
|
@ -625,7 +627,6 @@ RPC_STATUS WINAPI RpcServerUseProtseqEpExW( LPWSTR Protseq, UINT MaxCalls, LPWST
|
||||||
|
|
||||||
ps = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(RpcServerProtseq));
|
ps = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(RpcServerProtseq));
|
||||||
ps->MaxCalls = MaxCalls;
|
ps->MaxCalls = MaxCalls;
|
||||||
/* FIXME: Did Ove have these next two as RPCRT4_strdupW for a reason? */
|
|
||||||
ps->Protseq = RPCRT4_strdupWtoA(Protseq);
|
ps->Protseq = RPCRT4_strdupWtoA(Protseq);
|
||||||
ps->Endpoint = RPCRT4_strdupWtoA(Endpoint);
|
ps->Endpoint = RPCRT4_strdupWtoA(Endpoint);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue