mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Fixed segfault when adding pool profile via ncurses GUI #322
This commit is contained in:
parent
fdd4e84949
commit
b6aefc6ebe
@ -7660,7 +7660,7 @@ static bool input_pool(bool live)
|
||||
if (strcmp(name, "-1") == 0) strcpy(name, "");
|
||||
desc = curses_input("Description (optional)");
|
||||
if (strcmp(desc, "-1") == 0) strcpy(desc, "");
|
||||
algo = curses_input("Profile (optional)");
|
||||
profile = curses_input("Profile (optional)");
|
||||
if (strcmp(profile, "-1") == 0) profile[0] = '\0';
|
||||
algo = curses_input("Algorithm (optional)");
|
||||
if (strcmp(algo, "-1") == 0) algo[0] = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user