X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/3e6039189ef4130641633e0c8ea6cf2c75e6472f..1754a2860ffcb23b70eecc902b0ec795c7efa595:/sixdegrees.c?ds=inline 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();