]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - gpgwww.c
Ensure DB4 backend dbconns memory is initialised to zero
[onak.git] / gpgwww.c
index 984aab4cc6d66a2d2c0e630f5ad28077618a593a..24bf49033ec7f15075a8ad71693aff985e0ae879 100644 (file)
--- a/gpgwww.c
+++ b/gpgwww.c
@@ -154,13 +154,15 @@ int main(int argc, char *argv[])
        }
 
        if (op != OP_GET) {
        }
 
        if (op != OP_GET) {
-               printf("<P>Looking for path from 0x%llX to 0x%llX.\n",
+               printf("<P>Looking for path from 0x%" PRIX64" to 0x%" PRIX64
+                               ".\n",
                                from, to);
                                from, to);
-               printf("<A HREF=\"gpgwww?from=0x%08llX&to=0x%08llX\">"
-                               "Find reverse path</A>\n",
+               printf("<A HREF=\"gpgwww?from=0x%08" PRIX64 "&to=0x%08" PRIX64
+                               "\">Find reverse path</A>\n",
                                to,
                                from);
                                to,
                                from);
-               printf("<A HREF=\"gpgwww?from=0x%08llX&to=0x%08llX&op=get\">"
+               printf("<A HREF=\"gpgwww?from=0x%08" PRIX64 "&to=0x%08" PRIX64
+                               "&op=get\">"
                                "Get all keys listed</A></P>\n",
                                from,
                                to);
                                "Get all keys listed</A></P>\n",
                                from,
                                to);
@@ -171,7 +173,8 @@ int main(int argc, char *argv[])
        catchsignals();
        config.dbbackend->initdb(true);
        inithash();
        catchsignals();
        config.dbbackend->initdb(true);
        inithash();
-       logthing(LOGTHING_NOTICE, "Looking for path from 0x%llX to 0x%llX.",
+       logthing(LOGTHING_NOTICE, "Looking for path from 0x%" PRIX64 " to 0x%"
+                       PRIX64,
                        from,
                        to);
        if (op == OP_GET) {
                        from,
                        to);
        if (op == OP_GET) {