Fix stak algo as --av 5, experimental algo now --av 6

This commit is contained in:
XMRig 2017-04-18 15:57:44 +03:00
parent d874ede49e
commit 4eb7e5bbfd
6 changed files with 285 additions and 5 deletions

View file

@ -336,7 +336,7 @@ static char *parse_url(const char *arg)
show_usage_and_exit(1);
}
char *dest = malloc(strlen(arg) + 14);
char *dest = malloc(strlen(arg) + 16);
sprintf(dest, "stratum+tcp://%s", arg);
return dest;