X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/3e6039189ef4130641633e0c8ea6cf2c75e6472f..627ecb8d1b0aa57a41ed96359998861cca6b4466:/sixdegrees.c 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();