]> git.sommitrealweird.co.uk Git - onak.git/commitdiff
cscvs to tla changeset 64
authorJonathan McDowell <noodles@earth.li>
Mon, 31 May 2004 23:47:32 +0000 (23:47 +0000)
committerJonathan McDowell <noodles@earth.li>
Mon, 31 May 2004 23:47:32 +0000 (23:47 +0000)
Author: noodles
Date: 2003/02/17 18:45:44
Add 0x to generate URLs as pksd needs them. (Jason Harris)

stats.c

diff --git a/stats.c b/stats.c
index 39e96c0c65b6a618bff174de5ab8fb7ea1ac6d29..538e8884b8f104093d2d344672024da3e1a4b4e2 100644 (file)
--- a/stats.c
+++ b/stats.c
@@ -165,18 +165,18 @@ void dofindpath(uint64_t have, uint64_t want, bool html)
                while (curkey != NULL && curkey->keyid != 0) {
                        uid = keyid2uid(curkey->keyid);
                        if (html && uid == NULL) {
                while (curkey != NULL && curkey->keyid != 0) {
                        uid = keyid2uid(curkey->keyid);
                        if (html && uid == NULL) {
-                               printf("<a href=\"lookup?op=get&search=%llX\">"
-                                       "0x%08llX</a> ([User id not found])%s"
-                                       "<BR>\n",
+                               printf("<a href=\"lookup?op=get&search="
+                                       "0x%08llX\">0x%08llX</a> ([User id"
+                                       " not found])%s<BR>\n",
                                        curkey->keyid & 0xFFFFFFFF,
                                        curkey->keyid & 0xFFFFFFFF,
                                        (curkey->keyid == want) ? "" :
                                         " signs");
                        } else if (html && uid != NULL) {
                                        curkey->keyid & 0xFFFFFFFF,
                                        curkey->keyid & 0xFFFFFFFF,
                                        (curkey->keyid == want) ? "" :
                                         " signs");
                        } else if (html && uid != NULL) {
-                               printf("<a href=\"lookup?op=get&search=%llX\">"
-                                       "0x%08llX</a>"
+                               printf("<a href=\"lookup?op=get&search="
+                                       "0x%08llX\">0x%08llX</a>"
                                        " (<a href=\"lookup?op=vindex"
                                        " (<a href=\"lookup?op=vindex"
-                                       "&search=0x%llX\">%s</a>)%s<BR>\n",
+                                       "&search=0x0x%08llX\">%s</a>)%s<BR>\n",
                                        curkey->keyid & 0xFFFFFFFF,
                                        curkey->keyid & 0xFFFFFFFF,
                                        curkey->keyid & 0xFFFFFFFF,
                                        curkey->keyid & 0xFFFFFFFF,
                                        curkey->keyid & 0xFFFFFFFF,
                                        curkey->keyid & 0xFFFFFFFF,