From 76d278a5c00f7d17652b23bcdd04e7a05a07abd6 Mon Sep 17 00:00:00 2001 From: thorkill Date: Fri, 10 Jul 2015 01:44:49 +0200 Subject: [PATCH] Set keep_it flag on outgoing connections which are set by ConnectTo --- src/net_socket.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net_socket.c b/src/net_socket.c index 388d8ad1..290f42e4 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -822,6 +822,7 @@ void try_outgoing_connections(void) { if(!found) { outgoing_t *outgoing = xzalloc(sizeof *outgoing); outgoing->name = name; + outgoing->keep_it = true; list_insert_tail(outgoing_list, outgoing); setup_outgoing_connection(outgoing); }