X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/e3ee7975fc8f8b343390272663b8c644030b17c1..ec10586ae774074490665d5baeef8488861904ee:/gpgwww.c diff --git a/gpgwww.c b/gpgwww.c index f163ca4..4668239 100644 --- a/gpgwww.c +++ b/gpgwww.c @@ -4,12 +4,14 @@ * Jonathan McDowell * * Copyright 2001-2002 Project Purple. + * + * $Id: gpgwww.c,v 1.14 2004/05/26 18:53:14 noodles Exp $ */ -// #include #include #include #include +#include #include "getcgi.h" #include "hash.h" @@ -54,11 +56,19 @@ int main(int argc, char *argv[]) exit(1); } - printf("

Looking for path from 0x%llX to 0x%llX

\n", from, to); - readconfig(); + printf("

Looking for path from 0x%llX to 0x%llX.\n", from, to); + printf("" + "Find reverse path

\n", + to, + from); + + readconfig(NULL); initlogthing("gpgwww", config.logfile); - initdb(); + initdb(true); inithash(); + logthing(LOGTHING_NOTICE, "Looking for path from 0x%llX to 0x%llX.", + from, + to); dofindpath(from, to, true, 3); destroyhash(); cleanupdb();