#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();