mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
rpc_server: tstream_npa_connect_recv() returns errno into sys_errno
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
49a0f6170b
commit
30e0cac46b
@ -1046,7 +1046,7 @@ static struct np_proxy_state *make_external_rpc_pipe_p(TALLOC_CTX *mem_ctx,
|
||||
TALLOC_FREE(subreq);
|
||||
if (ret != 0) {
|
||||
int l = 1;
|
||||
if (errno == ENOENT) {
|
||||
if (sys_errno == ENOENT) {
|
||||
l = 2;
|
||||
}
|
||||
DEBUG(l, ("tstream_npa_connect_recv to %s for pipe %s and "
|
||||
|
Loading…
Reference in New Issue
Block a user