[Spice-devel] [PATCH 05/14] rename red_channel_peer_ function to red_channel_client_

Jonathon Jongsma jjongsma at redhat.com
Tue May 3 20:00:21 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 64c61ca..898036a 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