rpcrt4: Ignore the network address for ncalrpc in is_epm_destination_local.
The network address is ignored in the transport code, so it doesn't make sense to take it into account here.
This commit is contained in:
parent
36dae82a68
commit
b49512ecaf
|
@ -108,8 +108,8 @@ static inline BOOL is_epm_destination_local(RPC_BINDING_HANDLE handle)
|
|||
const char *protseq = bind->Protseq;
|
||||
const char *network_addr = bind->NetworkAddr;
|
||||
|
||||
return ((!strcmp(protseq, "ncalrpc") && !network_addr) ||
|
||||
(!strcmp(protseq, "ncacn_np") &&
|
||||
return (!strcmp(protseq, "ncalrpc") ||
|
||||
(!strcmp(protseq, "ncacn_np") &&
|
||||
(!network_addr || !strcmp(network_addr, "."))));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue