* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2001-2002 Project Purple.
- *
- * $Id: gpgwww.c,v 1.14 2004/05/26 18:53:14 noodles Exp $
*/
#include <inttypes.h>
#include "armor.h"
#include "charfuncs.h"
+#include "cleanup.h"
+#include "config.h"
#include "getcgi.h"
#include "hash.h"
#include "keydb.h"
return 1;
}
- while (pathlen < count) {
+ while ((!cleanup()) && (pathlen < count)) {
/*
* Fill the tree info up.
*/
readconfig(NULL);
initlogthing("gpgwww", config.logfile);
+ catchsignals();
initdb(true);
inithash();
logthing(LOGTHING_NOTICE, "Looking for path from 0x%llX to 0x%llX.",
if (op != OP_GET) {
puts("<HR>");
- puts("Produced by gpgwww " VERSION ", part of onak. "
+ puts("Produced by gpgwww " PACKAGE_VERSION ", part of onak. "
"<A HREF=\"mailto:noodles-onak@earth.li\">"
"Jonathan McDowell</A>");
end_html();