projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixup config file for Debian package upgrades
[onak.git]
/
lookup.c
diff --git
a/lookup.c
b/lookup.c
index e4cab46f2ad362030db60c9f5cde4274dfa4b513..e5cd1ae8e79f452cbd91169ba46db992cede62fd 100644
(file)
--- a/
lookup.c
+++ b/
lookup.c
@@
-17,6
+17,7
@@
#include "charfuncs.h"
#include "cleankey.h"
#include "cleanup.h"
#include "charfuncs.h"
#include "cleankey.h"
#include "cleanup.h"
+#include "config.h"
#include "getcgi.h"
#include "keydb.h"
#include "keyindex.h"
#include "getcgi.h"
#include "keydb.h"
#include "keyindex.h"
@@
-103,7
+104,7
@@
int main(int argc, char *argv[])
search = params[i+1];
params[i+1] = NULL;
if (search != NULL) {
search = params[i+1];
params[i+1] = NULL;
if (search != NULL) {
- keyid = strtoul(search, &end, 16);
+ keyid = strtoul
l
(search, &end, 16);
if (*search != 0 &&
end != NULL &&
*end == 0) {
if (*search != 0 &&
end != NULL &&
*end == 0) {
@@
-211,7
+212,8
@@
int main(int argc, char *argv[])
}
if (!mrhkp) {
puts("<hr>");
}
if (!mrhkp) {
puts("<hr>");
- puts("Produced by onak " VERSION " by Jonathan McDowell");
+ puts("Produced by onak " PACKAGE_VERSION
+ " by Jonathan McDowell");
end_html();
}
end_html();
}