diff options
author | Jonathon Jongsma <jjongsma@redhat.com> | 2015-06-04 16:13:23 -0500 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2015-09-24 16:15:34 +0100 |
commit | 9d0328f47edbc2b1648d23a32c63ac12948751f4 (patch) | |
tree | 71cedbf910d43ae348101d80be4c64b0661e2d21 /server | |
parent | 94855dab3a457148cc4b9f7504693cd1a19ff3ee (diff) |
RedChannel: initialize handle_message in incoming callback
Previously, it was only supporting the channels that used handle_parsed
and not handle_message.
Diffstat (limited to 'server')
-rw-r--r-- | server/red_channel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/red_channel.c b/server/red_channel.c index 6073b49f..bc824858 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -226,6 +226,7 @@ red_channel_constructed(GObject *object) (alloc_msg_recv_buf_proc)klass->alloc_recv_buf; self->priv->incoming_cb.release_msg_buf = (release_msg_recv_buf_proc)klass->release_recv_buf; + self->priv->incoming_cb.handle_message = (handle_message_proc)klass->handle_message; self->priv->incoming_cb.handle_parsed = (handle_parsed_proc)klass->handle_parsed; self->priv->incoming_cb.parser = klass->parser; |