From 2cebe2577f9d15099e00588e71e40eaddb9f1026 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Wed, 10 Oct 2007 20:08:25 +0000 Subject: [PATCH] Modified buffer usage output. --- statistics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/statistics.c b/statistics.c index d9e6d49..e97bca2 100644 --- a/statistics.c +++ b/statistics.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: statistics.c,v 1.17 2007/10/09 22:12:17 rahrenbe Exp $ + * $Id: statistics.c,v 1.18 2007/10/10 20:08:25 rahrenbe Exp $ */ #include @@ -194,7 +194,7 @@ cString cIptvBufferStatistics::GetStatistic() usedKilos *= 8; } cString info = cString::sprintf("Buffer bitrate: %ld k%s/s\nBuffer usage: %ld/%ld k%s (%2.1f%%)\n", bitrate, - IptvConfig.GetUseBytes() ? "B" : "bit", usedKilos, freeKilos, + IptvConfig.GetUseBytes() ? "B" : "bit", usedKilos, usedKilos + freeKilos, IptvConfig.GetUseBytes() ? "B" : "bit", percentage); dataBytes = 0; return info;