X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet_socket.c;h=dd02bf33bb7bbe26fed204c0066befa4f447005e;hb=29dbceb7c011b3114cf97bb7712e56b4ed0c5e27;hp=22cbe26fa08cc5725372517b42e829b8218dbcce;hpb=f6a9eb00bab9659f28c479dc34c16dc5c28a354d;p=meshlink diff --git a/src/net_socket.c b/src/net_socket.c index 22cbe26f..dd02bf33 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -378,6 +378,7 @@ begin: /* We are waiting for a callback from the ADNS thread */ } else if(outgoing->state == OUTGOING_NO_KNOWN_ADDRESSES) { logger(mesh, MESHLINK_ERROR, "No known addresses for %s", outgoing->node->name); + list_delete(mesh->outgoings, outgoing); } else { logger(mesh, MESHLINK_ERROR, "Could not set up a meta connection to %s", outgoing->node->name); retry_outgoing(mesh, outgoing);