diff options
Diffstat (limited to 'server/red-channel.c')
-rw-r--r-- | server/red-channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/red-channel.c b/server/red-channel.c index d50a059a..6ffc3869 100644 --- a/server/red-channel.c +++ b/server/red-channel.c @@ -397,7 +397,7 @@ static void red_channel_client_on_output(void *opaque, int n) if (rcc->connectivity_monitor.timer) { rcc->connectivity_monitor.out_bytes += n; } - stat_inc_counter(rcc->channel->out_bytes_counter, n); + reds_stat_inc_counter(reds, rcc->channel->out_bytes_counter, n); } static void red_channel_client_on_input(void *opaque, int n) @@ -1161,7 +1161,7 @@ void red_channel_set_stat_node(RedChannel *channel, StatNodeRef stat) #ifdef RED_STATISTICS channel->stat = stat; - channel->out_bytes_counter = stat_add_counter(stat, "out_bytes", TRUE); + channel->out_bytes_counter = reds_stat_add_counter(reds, stat, "out_bytes", TRUE); #endif } |