fprintf(f, "<td style=\"text-align: right\">%d</td><td style=\"text-align: right\">%d kb/s</td>",\r
group->count, group->desired);\r
\r
- for_each(keyword, keywords)\r
+ for_each(keyword, keywords) if(keyword->ip_count)\r
{\r
- fprintf(f,"<td style=\"text-align: right\"><span style=\"color:#%s\">%d Mb/s</span></td>",\r
+ fprintf(f,"<td style=\"text-align: right\"><span style=\"color:#%s\">%d MB</span></td>",\r
keyword->html_color, group->min*keyword->data_limit);\r
} \r
i += group->desired; \r
<th colspan=\"2\" style=\"text-align: left\">Line %Ld kb/s</td>",line);\r
fprintf(f,"<th style=\"text-align: right\">%d</td><th style=\"text-align: right\">%d kb/s</td>",total,i);\r
\r
- for_each(keyword, keywords)\r
+ for_each(keyword, keywords) if(keyword->ip_count)\r
{\r
fprintf(f,"<th style=\"text-align: right\">%d IPs</th>",keyword->ip_count);\r
}\r