summaryrefslogtreecommitdiffstats
path: root/source3/lib/messages.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-05-29 14:51:37 +0200
committerJeremy Allison <jra@samba.org>2014-05-31 01:59:17 +0200
commit331296df94a7f9b8921e1c57b3a5e23284ca0314 (patch)
treeb4e318747504d30f995e2b6b82a112d2fdf839d0 /source3/lib/messages.c
parent839a45a471e9571c7755e3b68f9fb3e2cebd5920 (diff)
downloadsamba-331296df94a7f9b8921e1c57b3a5e23284ca0314.tar.gz
samba-331296df94a7f9b8921e1c57b3a5e23284ca0314.tar.xz
samba-331296df94a7f9b8921e1c57b3a5e23284ca0314.zip
messaging3: The backend send_fn doesn't need a messaging_context
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/messages.c')
-rw-r--r--source3/lib/messages.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index 6e2e7ca9e2c..9e77009d025 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -380,7 +380,7 @@ NTSTATUS messaging_send_iov(struct messaging_context *msg_ctx,
}
if (!procid_is_local(&server)) {
- return msg_ctx->remote->send_fn(msg_ctx, server,
+ return msg_ctx->remote->send_fn(msg_ctx->id, server,
msg_type, iov, iovlen,
msg_ctx->remote);
}
@@ -407,8 +407,8 @@ NTSTATUS messaging_send_iov(struct messaging_context *msg_ctx,
return NT_STATUS_OK;
}
- return msg_ctx->local->send_fn(msg_ctx, server, msg_type, iov, iovlen,
- msg_ctx->local);
+ return msg_ctx->local->send_fn(msg_ctx->id, server, msg_type,
+ iov, iovlen, msg_ctx->local);
}
static struct messaging_rec *messaging_rec_dup(TALLOC_CTX *mem_ctx,