summaryrefslogtreecommitdiff
path: root/server/cache-item.tmpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/cache-item.tmpl.c')
-rw-r--r--server/cache-item.tmpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/cache-item.tmpl.c b/server/cache-item.tmpl.c
index ce38a2a4..034f2eab 100644
--- a/server/cache-item.tmpl.c
+++ b/server/cache-item.tmpl.c
@@ -78,7 +78,7 @@ static void FUNC_NAME(remove)(CHANNELCLIENT *channel_client, RedCacheItem *item)
channel_client->priv->VAR_NAME(available) += item->u.cache_data.size;
red_pipe_item_init(&item->u.pipe_data, RED_PIPE_ITEM_TYPE_INVAL_ONE);
- red_channel_client_pipe_add_tail_and_push(&channel_client->base, &item->u.pipe_data); // for now
+ red_channel_client_pipe_add_tail_and_push(RED_CHANNEL_CLIENT(channel_client), &item->u.pipe_data); // for now
}
static int FUNC_NAME(add)(CHANNELCLIENT *channel_client, uint64_t id, size_t size)