X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/1921fa44cfae203ae40e853ee9ecedb206fa9413..8d14d66b84cc370cefe54b33de1b95bb49c90bf6:/sixdegrees.c?ds=inline diff --git a/sixdegrees.c b/sixdegrees.c index e346cf1..b746327 100644 --- a/sixdegrees.c +++ b/sixdegrees.c @@ -86,12 +86,13 @@ void sixdegrees(uint64_t keyid) 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); - printf("Six degrees for 0x%" PRIx64 " (%s):\n", keyinfo->keyid, uid); + printf("Six degrees for 0x%016" PRIX64 " (%s):\n", keyinfo->keyid, + uid); free(uid); uid = NULL;