Browse Source

Fixed segfault when adding pool profile via ncurses GUI #322

djm34
troky 10 years ago
parent
commit
b6aefc6ebe
  1. 2
      sgminer.c

2
sgminer.c

@ -7660,7 +7660,7 @@ static bool input_pool(bool live) @@ -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…
Cancel
Save