HTML update.
authorPekka Riikonen <priikone@silcnet.org>
Sat, 21 Feb 2004 10:42:02 +0000 (10:42 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sat, 21 Feb 2004 10:42:02 +0000 (10:42 +0000)
apps/silcmap/silcmap_html.c

index a5360536aad62a06b7b7ac1b97f5b94325b5fcee..f3b8278186dd02dbc2b244b8cb9932491a4c7688 100644 (file)
@@ -546,7 +546,7 @@ bool silc_map_writerelhtml(SilcMap map)
 
     /* Count the reliability */
     if (try)
-      rel = ((double)success / (double)try) * (double)170.0;
+      rel = ((double)success / (double)try) * (double)160.0;
 
     fprintf(fp, "<tr>\n");
     if (mapconn->html_url)
@@ -556,14 +556,14 @@ bool silc_map_writerelhtml(SilcMap map)
       fprintf(fp,
              "<td align = \"center\" class=\"%s\">&nbsp;<a href=\"%s_%d.html\">%s</a></td>\n", class, hostname, mapconn->port, hostname);
     fprintf(fp,
-           "<td class=\"%s\" width=\"170\">"
-           "<table style=\"border: solid 1px black; width: 170px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"%s\"><tr>"
+           "<td class=\"%s\" width=\"160\">"
+           "<table style=\"border: solid 1px black; width: 160px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"%s\"><tr>"
            "<td style=\"width: %fpx; height: 10px;\" bgcolor=\"gray\"></td>"
            "<td style=\"width: %fpx; height: 10px;\" bgcolor=\"white\"></td>"
            "</tr></table></td>\n"
            "<td class=\"%s\">%.2f%% - score: %d</td>\n"
            "</tr>\n",
-           class, class, rel, 170 - rel, class,
+           class, class, rel, 160 - rel, class,
            ((double)success / (double)try) * (double)100.0, success);
   }