1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

lib: Avoid a "procid_is_local" call

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Volker Lendecke 2016-04-26 16:24:33 +02:00 committed by Michael Adam
parent 05c400e1d8
commit aca68e5dbb

View File

@ -550,7 +550,7 @@ int messaging_send_iov_from(struct messaging_context *msg_ctx,
return EINVAL;
}
if (!procid_is_local(&dst)) {
if (dst.vnn != msg_ctx->id.vnn) {
if (num_fds > 0) {
return ENOSYS;
}