|
|
@ -4744,7 +4744,7 @@ static void set_options(void) |
|
|
|
clear_logwin(); |
|
|
|
clear_logwin(); |
|
|
|
retry: |
|
|
|
retry: |
|
|
|
wlogprint("[Q]ueue: %d\n[S]cantime: %d\n[E]xpiry: %d\n" |
|
|
|
wlogprint("[Q]ueue: %d\n[S]cantime: %d\n[E]xpiry: %d\n" |
|
|
|
"[W]rite config file\n[C]gminer restart\n", |
|
|
|
"[W]rite config file\n[R]estart\n", |
|
|
|
opt_queue, opt_scantime, opt_expiry); |
|
|
|
opt_queue, opt_scantime, opt_expiry); |
|
|
|
wlogprint("Select an option or any other key to return\n"); |
|
|
|
wlogprint("Select an option or any other key to return\n"); |
|
|
|
logwin_update(); |
|
|
|
logwin_update(); |
|
|
@ -4804,7 +4804,7 @@ retry: |
|
|
|
fclose(fcfg); |
|
|
|
fclose(fcfg); |
|
|
|
goto retry; |
|
|
|
goto retry; |
|
|
|
|
|
|
|
|
|
|
|
} else if (!strncasecmp(&input, "c", 1)) { |
|
|
|
} else if (!strncasecmp(&input, "r", 1)) { |
|
|
|
wlogprint("Are you sure?\n"); |
|
|
|
wlogprint("Are you sure?\n"); |
|
|
|
input = getch(); |
|
|
|
input = getch(); |
|
|
|
if (!strncasecmp(&input, "y", 1)) |
|
|
|
if (!strncasecmp(&input, "y", 1)) |
|
|
|