summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-06-07 12:26:05 +0300
committerAlon Levy <alevy@redhat.com>2012-06-07 12:26:05 +0300
commit2465a8d801cdae183e6b7e85e53a9daa4807f7e6 (patch)
tree8ce9f73e2d14e460a0e063a439e5f410170dd73a
parentd905a1f24c93e99812388f6def42f8285c2acc6c (diff)
server/red_channel: s/channle/channel
-rw-r--r--server/red_channel.c6
1 files changed, 3 insertions, 3 deletions
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);