summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2015-03-06 16:00:30 -0600
committerFrediano Ziglio <fziglio@redhat.com>2015-08-21 13:47:16 +0100
commitfcda0dceee96bbee728193058c6c5f69b0d07fbe (patch)
tree6973355c0205915c0d44236f64acae8012e004d7
parentf4fd7250f39cc734135c2692879a0d040bd7b5e9 (diff)
rename red_channel_peer_ function to red_channel_client_
Use consistent naming
-rw-r--r--server/red_channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/red_channel.c b/server/red_channel.c
index 8848147c..04f3d51f 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -614,7 +614,7 @@ static inline void red_channel_client_release_sent_item(RedChannelClient *rcc)
}
}
-static void red_channel_peer_on_out_msg_done(void *opaque)
+static void red_channel_client_on_out_msg_done(void *opaque)
{
RedChannelClient *rcc = (RedChannelClient *)opaque;
@@ -1062,7 +1062,7 @@ RedChannel *red_channel_create(int size,
channel->outgoing_cb.on_block = red_channel_client_peer_on_out_block;
channel->outgoing_cb.on_error =
(on_outgoing_error_proc)red_channel_client_default_peer_on_error;
- channel->outgoing_cb.on_msg_done = red_channel_peer_on_out_msg_done;
+ channel->outgoing_cb.on_msg_done = red_channel_client_on_out_msg_done;
channel->outgoing_cb.on_output = red_channel_client_on_output;
client_cbs.connect = red_channel_client_default_connect;