Commit 3c85498d5722641fe59abd10d2e31d693accd76e

Con Kolivas 2012-10-04T09:38:05

Add space to reject reason.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index f5ba385..b5d7402 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -1892,7 +1892,7 @@ share_result(json_t *val, json_t *res, json_t *err, const struct work *work,
 
 				if (reason_val && json_is_string(reason_val)) {
 					reason_str = (char *)json_string_value(reason_val);
-					snprintf(reason, 31, "(%s)", reason_str);
+					snprintf(reason, 31, " (%s)", reason_str);
 				}
 			}