summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
01108b2)
Format keyids in various places to be 16 digits long, zero padded
if necessary. Closes Debian bug #540196 (which has a patch from
Philippe Teuwen, but that uses 8 digits instead of 16).
- printf("<P>Looking for path from 0x%" PRIX64" to 0x%" PRIX64
- ".\n",
+ printf("<P>Looking for path from 0x%016" PRIX64" to 0x%016"
+ PRIX64 ".\n",
- printf("<A HREF=\"gpgwww?from=0x%08" PRIX64 "&to=0x%08" PRIX64
+ printf("<A HREF=\"gpgwww?from=0x%016" PRIX64 "&to=0x%016" PRIX64
"\">Find reverse path</A>\n",
to,
from);
"\">Find reverse path</A>\n",
to,
from);
catchsignals();
config.dbbackend->initdb(true);
inithash();
catchsignals();
config.dbbackend->initdb(true);
inithash();
- logthing(LOGTHING_NOTICE, "Looking for path from 0x%" PRIX64 " to 0x%"
+ logthing(LOGTHING_NOTICE, "Looking for path from 0x%016" PRIX64
+ " to 0x%016"
} else if (uids->packet->tag == 17) {
printf(" ");
if (html) {
} else if (uids->packet->tag == 17) {
printf(" ");
if (html) {
- printf("<img src=\"lookup?op=photo&search=0x%"
- PRIX64 "&idx=%d\" alt=\"[photo id]\">"
- "\n",
+ printf("<img src=\"lookup?op=photo&search="
+ "0x%016" PRIX64 "&idx=%d\" alt=\""
+ "[photo id]\">\n",
keyid,
imgindx);
imgindx++;
keyid,
imgindx);
imgindx++;
config.dbbackend->cached_getkeysigs(keyid);
if ((keyinfo = findinhash(keyid)) == NULL) {
config.dbbackend->cached_getkeysigs(keyid);
if ((keyinfo = findinhash(keyid)) == NULL) {
- printf("Couldn't find key 0x%" PRIX64 ".\n", keyid);
+ printf("Couldn't find key 0x%016" PRIX64 ".\n", keyid);
return;
}
uid = config.dbbackend->keyid2uid(keyinfo->keyid);
return;
}
uid = config.dbbackend->keyid2uid(keyinfo->keyid);
- printf("Six degrees for 0x%" PRIX64 " (%s):\n", keyinfo->keyid, uid);
+ printf("Six degrees for 0x%016" PRIX64 " (%s):\n", keyinfo->keyid,
+ uid);
(void) config.dbbackend->cached_getkeysigs(fullwant);
if ((keyinfoa = findinhash(fullhave)) == NULL) {
(void) config.dbbackend->cached_getkeysigs(fullwant);
if ((keyinfoa = findinhash(fullhave)) == NULL) {
- printf("Couldn't find key 0x%" PRIX64 ".\n", have);
+ printf("Couldn't find key 0x%016" PRIX64 ".\n", have);
return;
}
if ((keyinfob = findinhash(fullwant)) == NULL) {
return;
}
if ((keyinfob = findinhash(fullwant)) == NULL) {
- printf("Couldn't find key 0x%" PRIX64 ".\n", want);
+ printf("Couldn't find key 0x%016" PRIX64 ".\n", want);