Commit 0b9967e5 authored by Håvard Moås's avatar Håvard Moås
Browse files

Update NERD to fix pointer gone wild in bandwith calculation (2), havard.mork@gmail.com

git-svn-id: file:///home/svn/mapi/branches/haavardm-mapi@49 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 55bf1429
......@@ -447,7 +447,7 @@ static void calculateBitrate(u_int divisor, u_int64_t stamp, u_int64_t *lastupda
else if(numSlotsAdvance > 0) {
while(numSlotsAdvance > 0) {
avgpos++;
(*avgpos)++;
if(*avgpos >= BITRATE_AVERAGER_SLOTS)
*avgpos = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment