projects
/
crypto.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
12cf854
)
width cahgne
author
Pekka Riikonen
<priikone@silcnet.org>
Mon, 17 Nov 2003 14:01:22 +0000
(14:01 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Mon, 17 Nov 2003 14:01:22 +0000
(14:01 +0000)
apps/silcmap/silcmap_html.c
patch
|
blob
|
history
diff --git
a/apps/silcmap/silcmap_html.c
b/apps/silcmap/silcmap_html.c
index bc350c6b86e50b59523d1a2e40961c436911e606..a5360536aad62a06b7b7ac1b97f5b94325b5fcee 100644
(file)
--- 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)
/* Count the reliability */
if (try)
- rel = ((double)success / (double)try) * (double)1
9
0.0;
+ rel = ((double)success / (double)try) * (double)1
7
0.0;
fprintf(fp, "<tr>\n");
if (mapconn->html_url)
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\"> <a href=\"%s_%d.html\">%s</a></td>\n", class, hostname, mapconn->port, hostname);
fprintf(fp,
fprintf(fp,
"<td align = \"center\" class=\"%s\"> <a href=\"%s_%d.html\">%s</a></td>\n", class, hostname, mapconn->port, hostname);
fprintf(fp,
- "<td class=\"%s\" width=\"1
9
0\">"
- "<table style=\"border: solid 1px black; width: 1
9
0px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"%s\"><tr>"
+ "<td class=\"%s\" width=\"1
7
0\">"
+ "<table style=\"border: solid 1px black; width: 1
7
0px;\" 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",
"<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, 1
9
0 - rel, class,
+ class, class, rel, 1
7
0 - rel, class,
((double)success / (double)try) * (double)100.0, success);
}
((double)success / (double)try) * (double)100.0, success);
}