projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First cut at cleanup infrastructure.
[onak.git]
/
lookup.c
diff --git
a/lookup.c
b/lookup.c
index d5392d599d318f806b059dd1e6fc043e0bfbed53..e4cab46f2ad362030db60c9f5cde4274dfa4b513 100644
(file)
--- a/
lookup.c
+++ b/
lookup.c
@@
-16,6
+16,7
@@
#include "armor.h"
#include "charfuncs.h"
#include "cleankey.h"
#include "armor.h"
#include "charfuncs.h"
#include "cleankey.h"
+#include "cleanup.h"
#include "getcgi.h"
#include "keydb.h"
#include "keyindex.h"
#include "getcgi.h"
#include "keydb.h"
#include "keyindex.h"
@@
-156,6
+157,7
@@
int main(int argc, char *argv[])
} else {
readconfig(NULL);
initlogthing("lookup", config.logfile);
} else {
readconfig(NULL);
initlogthing("lookup", config.logfile);
+ catchsignals();
initdb(true);
switch (op) {
case OP_GET:
initdb(true);
switch (op) {
case OP_GET: