Commit b49512ec authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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.
parent 36dae82a
......@@ -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, "."))));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment