summaryrefslogtreecommitdiffstats
path: root/server/red_client_cache.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-03-24 18:17:17 +0200
committerAlon Levy <alevy@redhat.com>2011-08-23 17:01:14 +0300
commit75b6a305ff9c42a89c9db91277027d5dc6d103ef (patch)
tree0146ac8ee12af43d10c92bf74fbc53e5e3b024c1 /server/red_client_cache.h
parent8fbc41b717fc18e7d73a48255b88b5a21e580d32 (diff)
downloadspice-75b6a305ff9c42a89c9db91277027d5dc6d103ef.tar.gz
spice-75b6a305ff9c42a89c9db91277027d5dc6d103ef.tar.xz
spice-75b6a305ff9c42a89c9db91277027d5dc6d103ef.zip
server/red_worker: drop red_pipe_add_tail, use red_channel_pipe_add_tail
The only difference between them being that the later also does a push. I don't believe that to be a problem, but if it does I can always introduce a push'less version.
Diffstat (limited to 'server/red_client_cache.h')
-rw-r--r--server/red_client_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/red_client_cache.h b/server/red_client_cache.h
index a79944ab..fae4b2ad 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_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
+ red_channel_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)