Commit 6c488b168d6d8c004704b37c29364acd2186e2d3

Con Kolivas 2014-02-21T11:56:17

Halfdelay cannot be larger than 255.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/cgminer.c b/cgminer.c
index 69a5acb..7165896 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -8797,8 +8797,8 @@ int main(int argc, char *argv[])
 			}
 #ifdef HAVE_CURSES
 			if (use_curses) {
-				halfdelay(600);
-				applog(LOG_ERR, "Press any key to exit, or cgminer will try again in 60s.");
+				halfdelay(255);
+				applog(LOG_ERR, "Press any key to exit, or cgminer will try again in 30s.");
 				if (getch() != ERR)
 					quit(0, "No servers could be used! Exiting.");
 				cbreak();