From a75afc5528231685fa751340927134caf78bf315 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Fri, 29 Jan 2021 15:04:08 +0200 Subject: [PATCH] Passed DServer object in --- source/dnetd/dconfig.d | 2 +- source/dnetd/dlink.d | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/dnetd/dconfig.d b/source/dnetd/dconfig.d index 869c32e..96caecc 100644 --- a/source/dnetd/dconfig.d +++ b/source/dnetd/dconfig.d @@ -166,7 +166,7 @@ public final class DLinkConfig ushort port = to!(ushort)(peerBlock["port"].str()); /* Add the address and port tuple to the list of addresses to bind to */ - dlinkConfig.links ~= new DLink(server, name, parseAddress(address, port)); + dlinkConfig.links ~= new DLink(dserver, name, parseAddress(address, port)); } return dlinkConfig; diff --git a/source/dnetd/dlink.d b/source/dnetd/dlink.d index 798be49..32d5c22 100644 --- a/source/dnetd/dlink.d +++ b/source/dnetd/dlink.d @@ -62,7 +62,7 @@ public final class DLink : Thread { /* Set the worker thread for outbound connections */ super(&outboundWorker); - + /* Create an outbound connection */ /* TODO: Fuuuuuuuuuuuuuuuuuuuck handling of shit here bababooey and not in dconnection.d as we would have done below */