diff options
Diffstat (limited to 'modules/network.c')
-rw-r--r-- | modules/network.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/network.c b/modules/network.c index f27a159a..fa61ddca 100644 --- a/modules/network.c +++ b/modules/network.c @@ -106,8 +106,13 @@ void scan_statistics(gboolean reload) gchar *tmp = buffer; while (*tmp && isspace(*tmp)) tmp++; - - __statistics = h_strdup_cprintf("<b> </b>#%d=%s\n", + /* the bolded-space/dot used here is a hardinfo shell hack */ + if (params.html_ok) + __statistics = h_strdup_cprintf("<b> </b>#%d=%s\n", + __statistics, + line++, tmp); + else + __statistics = h_strdup_cprintf(">#%d=%s\n", __statistics, line++, tmp); } |