Commit e6f84390 authored by 's avatar
Browse files

minor fix


git-svn-id: file:///home/svn/mapi/trunk@912 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent b134e6ba
......@@ -109,12 +109,15 @@ int main(int argc, char *argv[]){
i = (unsigned int *)(results[j].res);
for(count = *i, i=(unsigned int *)((char *)i+sizeof(unsigned int)); count > 0 ; count--) {
if( (pkloss = add_bucket((struct flow_data *)i, j) )!= 0 ) {
totalpkloss += pkloss;
}
if( j == 0 )
pkcount0 += ((struct flow_data *)i)->packets_count;
else if( j == 1 )
pkcount1 += ((struct flow_data *)i)->packets_count;
i = (unsigned int *)((struct flow_data *)i + 1);
}
}
}
if(with_ncurses) {
......
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