Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dogecoinfoundation/libdogecoin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bdd7f6104b155eaa72ec8d859e0e2ebc25d54abb
Choose a base ref
..
head repository: dogecoinfoundation/libdogecoin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8be43b3deedfcd45af810512f7bbd37e39d047e3
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/net.c
2 changes: 1 addition & 1 deletion src/net.c
Original file line number Diff line number Diff line change
@@ -553,7 +553,7 @@ dogecoin_bool dogecoin_node_group_connect_next_nodes(dogecoin_node_group* group)
dogecoin_node* node = vector_idx(group->nodes, i);
if (
!((node->state & NODE_CONNECTED) == NODE_CONNECTED) &&
!((node->state & NODE_CONNECTING) == NODE_CONNECTING) {
!((node->state & NODE_CONNECTING) == NODE_CONNECTING)) {
/* setup buffer event */
node->event_bev = bufferevent_socket_new(group->event_base, -1, BEV_OPT_CLOSE_ON_FREE);
bufferevent_setcb(node->event_bev, read_cb, write_cb, event_cb, node);