diff options
author | Alon Levy <alevy@redhat.com> | 2010-11-07 14:05:19 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-02-11 15:32:20 +0200 |
commit | e8698ea0f89f797fcfb34c192486f636e677f3b2 (patch) | |
tree | d0c9f3b7797272ded1aab4369308bc62ecc1516f /server/red_client_cache.h | |
parent | 9330dbac13ccec52f32e06169c746f99086e464a (diff) | |
download | spice-e8698ea0f89f797fcfb34c192486f636e677f3b2.tar.gz spice-e8698ea0f89f797fcfb34c192486f636e677f3b2.tar.xz spice-e8698ea0f89f797fcfb34c192486f636e677f3b2.zip |
server/red_worker: introduce CommonChannel
with everything (almost) not in red_channel's RedChannel
As a result of CommonChannel a free cb is added to EventHandler,
to take care of non zero offset for embedded EventHandler.
Diffstat (limited to 'server/red_client_cache.h')
-rw-r--r-- | server/red_client_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/red_client_cache.h b/server/red_client_cache.h index 15c63d81..28f99550 100644 --- a/server/red_client_cache.h +++ b/server/red_client_cache.h @@ -74,7 +74,7 @@ static void FUNC_NAME(remove)(CHANNEL *channel, CacheItem *item) channel->VAR_NAME(available) += item->size; red_pipe_item_init(&item->u.pipe_data, PIPE_ITEM_TYPE_INVAL_ONE); - red_pipe_add_tail(&channel->base, &item->u.pipe_data); // for now + red_pipe_add_tail(&channel->common.base, &item->u.pipe_data); // for now } static int FUNC_NAME(add)(CHANNEL *channel, uint64_t id, size_t size) |