Remove call to connection_connect
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 2 Sep 2013 11:34:28 +0000 (13:34 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 2 Sep 2013 11:34:28 +0000 (13:34 +0200)
It seems redundant (we make two calls in case of resolving
delay).

src/connection.c

index 710d436..51468c4 100644 (file)
@@ -375,7 +375,6 @@ void connect_resolver_host(struct host *host, iochan_man_t iochan_man)
                 if (sdb)
                 {
                     yaz_mutex_leave(host->mutex);
-                    connection_connect(con, iochan_man);
                     client_start_search(con->client);
                 }
                 else