summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/msg_channel.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/lib/msg_channel.c b/source3/lib/msg_channel.c
index 65976d1170..6b3295fc06 100644
--- a/source3/lib/msg_channel.c
+++ b/source3/lib/msg_channel.c
@@ -329,16 +329,19 @@ static void msg_read_got_ctdb(struct tevent_req *subreq)
return;
}
- ndr_err = ndr_push_struct_blob(
+ ndr_err = ndr_pull_struct_blob(
&blob, state->rec, state->rec,
- (ndr_push_flags_fn_t)ndr_push_messaging_rec);
+ (ndr_pull_flags_fn_t)ndr_pull_messaging_rec);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- DEBUG(0, ("ndr_push_struct_blob failed: %s\n",
+ DEBUG(1, ("ndr_pull_struct_blob failed: %s\n",
ndr_errstr(ndr_err)));
tevent_req_error(req, ndr_map_error2errno(ndr_err));
return;
}
+ if (DEBUGLEVEL >= 10) {
+ NDR_PRINT_DEBUG(messaging_rec, state->rec);
+ }
if (state->rec->msg_type == state->channel->msg_type) {
tevent_req_done(req);
return;