projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cscvs to tla changeset 50
[onak.git]
/
gpgwww.c
diff --git
a/gpgwww.c
b/gpgwww.c
index 75022b86e83b5d74d1312c4fc161fc3968e91d92..c225b827c90e095176e4d473b0a1fec9d82d0cd7 100644
(file)
--- a/
gpgwww.c
+++ b/
gpgwww.c
@@
-54,15
+54,22
@@
int main(int argc, char *argv[])
}
printf("<P>Looking for path from 0x%llX to 0x%llX</P>\n", from, to);
}
printf("<P>Looking for path from 0x%llX to 0x%llX</P>\n", from, to);
+ readconfig();
initdb();
inithash();
dofindpath(from, to, true);
destroyhash();
cleanupdb();
initdb();
inithash();
dofindpath(from, to, true);
destroyhash();
cleanupdb();
+ cleanupconfig();
puts("<HR>");
puts("<HR>");
- puts("Produced by gpgwww " VERSION ", part of onak. <A HREF=\"mailto:noodles-onak@earth.li\">Jonathan McDowell</A>");
+ puts("Produced by gpgwww " VERSION ", part of onak. "
+ "<A HREF=\"mailto:noodles-onak@earth.li\">"
+ "Jonathan McDowell</A>");
end_html();
end_html();
+ cleanupcgi(cgiparams);
+ cgiparams = NULL;
+
return EXIT_SUCCESS;
}
return EXIT_SUCCESS;
}