[Spice-devel] [spice-server 4/8] Fix typo in variable name in function prototype

Christophe Fergeau cfergeau at redhat.com
Mon Mar 14 17:10:30 UTC 2016


num_common_cap rather than num_common_caps was not consistent with
the naming of the other arguments.
---
 server/red-channel.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/red-channel.h b/server/red-channel.h
index 51d606e..ca06b4a 100644
--- a/server/red-channel.h
+++ b/server/red-channel.h
@@ -184,7 +184,7 @@ typedef uint64_t (*channel_handle_migrate_data_get_serial_proc)(RedChannelClient
 
 
 typedef void (*channel_client_connect_proc)(RedChannel *channel, RedClient *client, RedsStream *stream,
-                                            int migration, int num_common_cap, uint32_t *common_caps,
+                                            int migration, int num_common_caps, uint32_t *common_caps,
                                             int num_caps, uint32_t *caps, gpointer cbs_data);
 typedef void (*channel_client_disconnect_proc)(RedChannelClient *base, gpointer cbs_data);
 typedef void (*channel_client_migrate_proc)(RedChannelClient *base, gpointer cbs_data);
-- 
2.5.0



More information about the Spice-devel mailing list