[Spice-devel] [PATCH 12/18] rename red_channel_peer_ function to red_channel_client_

Jonathon Jongsma jjongsma at redhat.com
Wed Apr 27 16:50:35 UTC 2016


Use consistent naming
---
 server/red-channel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/red-channel.c b/server/red-channel.c
index 6b83fbc..d77cc89 100644
--- a/server/red-channel.c
+++ b/server/red-channel.c
@@ -597,7 +597,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;
     int fd;
@@ -1060,7 +1060,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;
-- 
2.4.11



More information about the Spice-devel mailing list