X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/3b5b9db0bc2dbe93b3b79e722997606c71ecafb9..5ba02c41963a4c4077a873a3c686a61cb84d56b7:/gpgwww.c diff --git a/gpgwww.c b/gpgwww.c index f5b1644..fa8ea4f 100644 --- a/gpgwww.c +++ b/gpgwww.c @@ -4,12 +4,14 @@ * Jonathan McDowell * * Copyright 2001-2002 Project Purple. + * + * $Id: gpgwww.c,v 1.13 2004/03/23 12:33:46 noodles Exp $ */ -// #include #include #include #include +#include #include "getcgi.h" #include "hash.h" @@ -54,12 +56,17 @@ 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(); - dofindpath(from, to, true); + dofindpath(from, to, true, 3); destroyhash(); cleanupdb(); cleanuplogthing();