Description: Build_failure_bool_to_json_t
 util.cpp: In function ‘json_t* stratum_recv_line_bos(stratum_ctx*)’:
 util.cpp:1434:13: error: cannot convert ‘bool’ to ‘json_t*’ in return
      return false;
             ^~~~~
 .
 ccminer-mtp (1.1.13+debian-1) unstable; urgency=medium
 .
   * New upstream release:
     - Use buffer for pool messages to prevent packet losses,
     - Fix both memory leaks in physical and virtual memory,
     - Less memory leak (remaining one are small and and coming from
       external package (json).
   * Source have been repacked (using copyright/watch) to remove huge
     compat subfolder containing Windows related files.
Author: Adam Cecile <acecile@le-vert.net>

---
Origin: other
Bug: https://github.com/zcoinofficial/ccminer/issues/30
Forwarded: https://github.com/zcoinofficial/ccminer/issues/30
Reviewed-By: TODO
Last-Update: 2019-01-21

--- ccminer-mtp-1.1.13+debian.orig/util.cpp
+++ ccminer-mtp-1.1.13+debian/util.cpp
@@ -1431,7 +1431,7 @@ json_t *stratum_recv_line_bos(struct str
 
 				if (!bos_validate(sctx->sockbuf, sctx->sockbuf_bossize)) {
 					applog(LOG_ERR, "stratum_recv_line: not a serialized object");
-					return false;
+			                goto out;
 
 				}
 				else {
