diff options
author | Volker Lendecke <vl@samba.org> | 2012-04-20 11:52:02 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-04-20 13:42:40 +0200 |
commit | e3de5e4fb6703976d7592b4dd8a52495a7deb951 (patch) | |
tree | 0e28fd327682429374f57a6222665d294903a725 /source3 | |
parent | 5ca8422d027cc98cc792b75f35fe897da123fc4b (diff) | |
download | samba-e3de5e4fb6703976d7592b4dd8a52495a7deb951.tar.gz samba-e3de5e4fb6703976d7592b4dd8a52495a7deb951.tar.bz2 samba-e3de5e4fb6703976d7592b4dd8a52495a7deb951.zip |
s3: Fix msg_channel in the cluster case
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/msg_channel.c | 9 |
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; |