From 12cf854de48f47b26378cbb08c32c0a4c9f18d87 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 17 Nov 2003 13:58:36 +0000 Subject: [PATCH] Changed reliability table format. --- apps/silcmap/silcmap_html.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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"); -- 2.24.0