diff options
author | Alon Levy <alevy@redhat.com> | 2010-11-13 16:54:12 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-03-02 17:27:53 +0200 |
commit | 23ba2ce3e5707f50c8ee0dab276a62f85dbabf33 (patch) | |
tree | 2ff18d6ad624089ea2552c846cc526b764f1f5f5 /server/red_client_cache.h | |
parent | c7711822749fd46d92a40f485d9e8ffabcd58ad0 (diff) | |
download | spice-23ba2ce3e5707f50c8ee0dab276a62f85dbabf33.tar.gz spice-23ba2ce3e5707f50c8ee0dab276a62f85dbabf33.tar.xz spice-23ba2ce3e5707f50c8ee0dab276a62f85dbabf33.zip |
server/red_worker: use red_channel_pipe_item_init
replaces in file red_pipe_item_init.
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 28f99550..a79944ab 100644 --- a/server/red_client_cache.h +++ b/server/red_client_cache.h @@ -73,7 +73,7 @@ static void FUNC_NAME(remove)(CHANNEL *channel, CacheItem *item) channel->VAR_NAME(items)--; channel->VAR_NAME(available) += item->size; - red_pipe_item_init(&item->u.pipe_data, PIPE_ITEM_TYPE_INVAL_ONE); + red_channel_pipe_item_init(&channel->common.base, &item->u.pipe_data, PIPE_ITEM_TYPE_INVAL_ONE); red_pipe_add_tail(&channel->common.base, &item->u.pipe_data); // for now } |