Commit b015348df4c2ec69db809b81f0957864df485316

Con Kolivas 2012-04-29T10:08:12

Shorten stale share messages slightly.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/cgminer.c b/cgminer.c
index e330935..a4d21a6 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2140,13 +2140,13 @@ static void *submit_work_thread(void *userdata)
 
 		if (stale_work(work, true)) {
 			if (pool->submit_old)
-				applog(LOG_NOTICE, "Stale share detected, submitting as pool %d requested",
+				applog(LOG_NOTICE, "Stale share, submitting as pool %d requested",
 				       pool->pool_no);
 			else if (opt_submit_stale)
-				applog(LOG_NOTICE, "Stale share detected from pool %d, submitting as user requested",
+				applog(LOG_NOTICE, "Stale share from pool %d, submitting as user requested",
 					pool->pool_no);
 			else {
-				applog(LOG_NOTICE, "Stale share detected from pool %d, discarding",
+				applog(LOG_NOTICE, "Stale share from pool %d, discarding",
 					pool->pool_no);
 				sharelog("discard", work);
 				total_stale++;