]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib: Avoid a "procid_is_local" call
authorVolker Lendecke <vl@samba.org>
Tue, 26 Apr 2016 14:24:33 +0000 (16:24 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 14 Jul 2016 15:14:11 +0000 (17:14 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/lib/messages.c

index af0ca4002275b6383c2917ce4feb22879234953f..a81aee8e0f77a601ed9d42a8e629cf235d47d7f3 100644 (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;
                }