Browse Source

Cosmetic tidy

master
Con Kolivas 10 years ago
parent
commit
329afb56ac
  1. 2
      src/connector.c
  2. 4
      src/stratifier.c

2
src/connector.c

@ -82,8 +82,6 @@ static sender_send_t *delayed_sends;
static pthread_mutex_t sender_lock;
static pthread_cond_t sender_cond;
static void parse_client_msg(conn_instance_t *ci, client_instance_t *client);
/* Accepts incoming connections on the server socket and generates client
* instances */
static int accept_client(conn_instance_t *ci, int epfd)

4
src/stratifier.c

@ -802,12 +802,12 @@ static void *do_update(void *arg)
stratum_broadcast_update(new_block);
ret = true;
LOGINFO("Broadcasted updated stratum base");
LOGINFO("Broadcast updated stratum base");
out:
/* Send a ping to miners if we fail to get a base to keep them
* connected while bitcoind recovers(?) */
if (!ret) {
LOGWARNING("Broadcasted ping due to failed stratum base update");
LOGWARNING("Broadcast ping due to failed stratum base update");
broadcast_ping();
}
free(ur->pth);

Loading…
Cancel
Save