]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - sixdegrees.c
Ensure DB4 backend dbconns memory is initialised to zero
[onak.git] / sixdegrees.c
index e346cf131a6cd56b864b47e6fdf10bdac1b73f08..9d2d68d3dfeb8eca4472e05ac30b00e20baf5d82 100644 (file)
@@ -86,12 +86,12 @@ 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%" PRIx64 ".\n", keyid);
+               printf("Couldn't find key 0x%" 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%" PRIX64 " (%s):\n", keyinfo->keyid, uid);
        free(uid);
        uid = NULL;
 
        free(uid);
        uid = NULL;