[Spice-commits] server/red_channel.c

Alon Levy alon at kemper.freedesktop.org
Thu Jun 7 02:26:14 PDT 2012


 server/red_channel.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 2465a8d801cdae183e6b7e85e53a9daa4807f7e6
Author: Alon Levy <alevy at redhat.com>
Date:   Thu Jun 7 12:26:05 2012 +0300

    server/red_channel: s/channle/channel

diff --git a/server/red_channel.c b/server/red_channel.c
index 9a48e77..2a7acbf 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -560,7 +560,7 @@ int red_channel_client_test_remote_cap(RedChannelClient *rcc, uint32_t cap)
                           cap);
 }
 
-static int red_channle_client_pre_create_validate(RedChannel *channel, RedClient  *client)
+static int red_channel_client_pre_create_validate(RedChannel *channel, RedClient  *client)
 {
     if (red_client_get_channel(client, channel->type, channel->id)) {
         spice_printerr("Error client %p: duplicate channel type %d id %d",
@@ -578,7 +578,7 @@ RedChannelClient *red_channel_client_create(int size, RedChannel *channel, RedCl
     RedChannelClient *rcc = NULL;
 
     pthread_mutex_lock(&client->lock);
-    if (!red_channle_client_pre_create_validate(channel, client)) {
+    if (!red_channel_client_pre_create_validate(channel, client)) {
         goto error;
     }
     spice_assert(stream && channel && size >= sizeof(RedChannelClient));
@@ -1323,7 +1323,7 @@ RedChannelClient *red_channel_client_create_dummy(int size,
     spice_assert(size >= sizeof(RedChannelClient));
 
     pthread_mutex_lock(&client->lock);
-    if (!red_channle_client_pre_create_validate(channel, client)) {
+    if (!red_channel_client_pre_create_validate(channel, client)) {
         goto error;
     }
     rcc = spice_malloc0(size);


More information about the Spice-commits mailing list