projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix buffer_getchar to only error if we'd exceed the buffer size
[onak.git]
/
onak.c
diff --git
a/onak.c
b/onak.c
index e6b92871ae57a1a4898712a80c06ef07bc869a00..b3cc27eb74bbc6203a1d12c8a5c2aec67cd8991f 100644
(file)
--- a/
onak.c
+++ b/
onak.c
@@
-21,7
+21,6
@@
#include "charfuncs.h"
#include "cleankey.h"
#include "cleanup.h"
#include "charfuncs.h"
#include "cleankey.h"
#include "cleanup.h"
-#include "config.h"
#include "keydb.h"
#include "keyid.h"
#include "keyindex.h"
#include "keydb.h"
#include "keyid.h"
#include "keyindex.h"
@@
-32,6
+31,7
@@
#include "onak-conf.h"
#include "parsekey.h"
#include "photoid.h"
#include "onak-conf.h"
#include "parsekey.h"
#include "photoid.h"
+#include "version.h"
void find_keys(char *search, uint64_t keyid, bool ishex,
bool fingerprint, bool exact, bool verbose)
void find_keys(char *search, uint64_t keyid, bool ishex,
bool fingerprint, bool exact, bool verbose)
@@
-93,7
+93,7
@@
void dump_func(void *ctx, struct openpgp_publickey *key)
}
void usage(void) {
}
void usage(void) {
- puts("onak "
PACKAGE
_VERSION " - an OpenPGP keyserver.\n");
+ puts("onak "
ONAK
_VERSION " - an OpenPGP keyserver.\n");
puts("Usage:\n");
puts("\tonak [options] <command> <parameters>\n");
puts("\tCommands:\n");
puts("Usage:\n");
puts("\tonak [options] <command> <parameters>\n");
puts("\tCommands:\n");