X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/3e6039189ef4130641633e0c8ea6cf2c75e6472f..e3ee7975fc8f8b343390272663b8c644030b17c1:/sixdegrees.c?ds=sidebyside diff --git a/sixdegrees.c b/sixdegrees.c index 1afbf77..128e8f3 100644 --- a/sixdegrees.c +++ b/sixdegrees.c @@ -99,10 +99,16 @@ void sixdegrees(uint64_t keyid) int main(int argc, char *argv[]) { + uint64_t keyid = 0x5B430367; + + if (argc == 2) { + keyid = strtoll(argv[1], NULL, 16); + } + readconfig(); initdb(); inithash(); - sixdegrees(0x5B430367); + sixdegrees(keyid); destroyhash(); cleanupdb(); cleanupconfig();