From: Pekka Riikonen Date: Mon, 17 Nov 2003 13:58:36 +0000 (+0000) Subject: Changed reliability table format. X-Git-Tag: 1.2.beta1~805 X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=commitdiff_plain;h=12cf854de48f47b26378cbb08c32c0a4c9f18d87 Changed reliability table format. --- diff --git a/apps/silcmap/silcmap_html.c b/apps/silcmap/silcmap_html.c index 5c1aa233..bc350c6b 100644 --- a/apps/silcmap/silcmap_html.c +++ b/apps/silcmap/silcmap_html.c @@ -546,7 +546,7 @@ bool silc_map_writerelhtml(SilcMap map) /* Count the reliability */ if (try) - rel = ((double)success / (double)try) * (double)200.0; + rel = ((double)success / (double)try) * (double)190.0; fprintf(fp, "\n"); if (mapconn->html_url) @@ -556,15 +556,15 @@ bool silc_map_writerelhtml(SilcMap map) fprintf(fp, " %s\n", class, hostname, mapconn->port, hostname); fprintf(fp, - "" - "" + "\n" - "\n" + "\n" "\n", - class, class, rel, 200 - rel, class, - ((double)success / (double)try) * (double)100.0); + class, class, rel, 190 - rel, class, + ((double)success / (double)try) * (double)100.0, success); } fprintf(fp, "
" + "" "" "" "
%.2f%%%.2f%% - score: %d

\n");