X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=htmlandlogs.c;fp=htmlandlogs.c;h=73a3d0f3f682270e99c28213202c77bcfbfd2a2b;hp=f624a48442c56c3d508c1b01f149de98f8b9d061;hb=e48d46c959233c89ccd6ccd411b31704610abb71;hpb=9a56ab25128074e581fa5f69bac8afa2fb939c82 diff --git a/htmlandlogs.c b/htmlandlogs.c index f624a48..73a3d0f 100644 --- a/htmlandlogs.c +++ b/htmlandlogs.c @@ -225,8 +225,7 @@ void write_htmlandlogs(char *html, char *d, int total, int just_preview) } fprintf(f,"%Lu\n", ip->credit); fprintf(f,"%Lu", - ip->keyword->html_color, - ip->credit+(ip->min*ip->keyword->data_limit+(ip->keyword->fixed_limit<<20))); + ip->keyword->html_color, ip->realquota); fprintf(f,"%s%Lu%s", f1, ip->traffic, f2); /* download --------------------------------------- */