diff options
Diffstat (limited to 'source3/lib/msg_channel.c')
-rw-r--r-- | source3/lib/msg_channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/msg_channel.c b/source3/lib/msg_channel.c index 9a174c0ed6..65976d1170 100644 --- a/source3/lib/msg_channel.c +++ b/source3/lib/msg_channel.c @@ -300,7 +300,7 @@ static void msg_channel_trigger(struct tevent_context *ev, state->rec = talloc_move(state, &channel->msgs[0]); memmove(channel->msgs, channel->msgs+1, - sizeof(struct messaging_rec) * (num_msgs-1)); + sizeof(struct messaging_rec *) * (num_msgs-1)); channel->msgs = talloc_realloc( channel, channel->msgs, struct messaging_rec *, num_msgs - 1); |