1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-17 03:50:03 +02:00

src/main.cpp: fix bug in command line parsing for search. loop should check for argc - 1 (first param is program name)

This commit is contained in:
Henrik Hautakoski 2020-02-05 16:09:53 +01:00
parent 67df405309
commit b24ea1fc83

View file

@ -138,7 +138,7 @@ int main(int argc, char **argv) {
if (!strcmp(argv[p], "search")) {
while(p++ < argc) {
while(p++ < argc - 1) {
if (!strcmp(argv[p], "--l33t")) {
option_l33t = true;
} else if (!memcmp(argv[p], "--threads=", 10)) {