X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Ftincd.c;h=a8b13ecb90f664f9f1a0ee15696b8aabb946fa00;hp=3abd33f00d284fe66524019eb7a44ce6cbf6c7d9;hb=2116c6eb7d328c7aa3ce3da54f95367e5199d373;hpb=78c5b1c2dc3347894d69bf95b08c3f664c0bc399 diff --git a/src/tincd.c b/src/tincd.c index 3abd33f0..a8b13ecb 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -363,6 +363,8 @@ static bool parse_options(int argc, char **argv) { /* This function prettyprints the key generation process */ static int indicator(int a, int b, BN_GENCB *cb) { + (void)cb; + switch(a) { case 0: fprintf(stderr, "."); @@ -658,8 +660,6 @@ int main(int argc, char **argv) { return 1; } - make_names(); - if(show_version) { printf("%s version %s\n", PACKAGE, VERSION); printf("Copyright (C) 1998-2017 Ivo Timmermans, Guus Sliepen and others.\n" @@ -676,6 +676,8 @@ int main(int argc, char **argv) { return 0; } + make_names(); + if(kill_tincd) { return !kill_other(kill_tincd); }