]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - sixdegrees.c
Make keyd background itself by default
[onak.git] / sixdegrees.c
index d4e55c180cb654877a8a9888e3364b7cd9be3d11..b746327e218453dad60716405358113ad2f1778e 100644 (file)
@@ -86,12 +86,13 @@ void sixdegrees(uint64_t keyid)
        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%llX.\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%llX (%s):\n", keyinfo->keyid, uid);
+       printf("Six degrees for 0x%016" PRIX64 " (%s):\n", keyinfo->keyid,
+                       uid);
        free(uid);
        uid = NULL;
 
        free(uid);
        uid = NULL;