From 32323ea12ed87e4de9488b8bc485b99861536310 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 29 Oct 2016 16:59:36 -0300 Subject: [PATCH] test --- src/komodo_bitcoind.h | 5 +++-- src/komodo_gateway.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index d46c4eca0..d37f4647f 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -227,7 +227,8 @@ try_again: free(s.ptr); return(0); } - printf( "curl_easy_perform() failed: %s %s.(%s %s), retries: %d\n",curl_easy_strerror(res),debugstr,url,command,numretries); + if ( (rand() % 1000) == 0 ) + printf( "curl_easy_perform() failed: %s %s.(%s %s), retries: %d\n",curl_easy_strerror(res),debugstr,url,command,numretries); free(s.ptr); sleep((1<