* 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 "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.",