X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/ad30ce51bf609c35cd99a9ca46dd859b17d8164a..17623ae905ff751306ed51a30fd0ee97ffd00d01:/onak.c diff --git a/onak.c b/onak.c index 1dacae6..e79e565 100644 --- a/onak.c +++ b/onak.c @@ -18,6 +18,7 @@ #include "charfuncs.h" #include "cleankey.h" #include "cleanup.h" +#include "config.h" #include "keydb.h" #include "keyid.h" #include "keyindex.h" @@ -54,7 +55,7 @@ void find_keys(char *search, uint64_t keyid, bool ishex, } void usage(void) { - puts("onak " VERSION " - an OpenPGP keyserver.\n"); + puts("onak " PACKAGE_VERSION " - an OpenPGP keyserver.\n"); puts("Usage:\n"); puts("\tonak [options] \n"); puts("\tCommands:\n"); @@ -144,7 +145,7 @@ int main(int argc, char *argv[]) initdb(false); logthing(LOGTHING_NOTICE, "Got %d new keys.", - update_keys(&keys)); + update_keys(&keys, false)); if (keys != NULL && update) { flatten_publickey(keys, &packets,