Browse Source

Merge branch 'stratumsrv' into bfgminer

Luke Dashjr 11 years ago
parent
commit
1f89957193
1 changed files with 2 additions and 1 deletions
  1. 2 1
      driver-stratum.c

+ 2 - 1
driver-stratum.c

@@ -495,7 +495,8 @@ bool stratumsrv_process_line(struct bufferevent * const bev, const char * const
 	json = JSON_LOADS(ln, &jerr);
 	json = JSON_LOADS(ln, &jerr);
 	if (!json)
 	if (!json)
 	{
 	{
-		applog(LOG_ERR, "SSM: JSON parse error: %s", ln);
+		if (strncmp(ln, "GET ", 4))
+			applog(LOG_ERR, "SSM: JSON parse error: %s", ln);
 		return false;
 		return false;
 	}
 	}