mirror of https://github.com/deavminet/dnetd.git
dserver now uses `gprintln`
This commit is contained in:
parent
123f1ea8b8
commit
170511a934
|
@ -20,6 +20,7 @@ import std.stdio;
|
|||
import std.conv : to;
|
||||
import dnetd.dconfig;
|
||||
import dnetd.dlink;
|
||||
import gogga;
|
||||
|
||||
public class DServer : Thread
|
||||
{
|
||||
|
@ -169,7 +170,7 @@ public class DServer : Thread
|
|||
|
||||
/* Add to the connection queue */
|
||||
connectionQueue ~= connection;
|
||||
writeln("Added connection to queue "~to!(string)(connection));
|
||||
gprintln("Added connection to queue "~to!(string)(connection));
|
||||
|
||||
/* Unlock the connections list */
|
||||
connectionLock.unlock();
|
||||
|
@ -195,7 +196,7 @@ public class DServer : Thread
|
|||
/* Set this as the new queue */
|
||||
connectionQueue = connectionQueueNew;
|
||||
|
||||
writeln("Removed connection from queue "~to!(string)(connection));
|
||||
gprintln("Removed connection from queue "~to!(string)(connection));
|
||||
|
||||
/* Unlock the connections list */
|
||||
connectionLock.unlock();
|
||||
|
|
Loading…
Reference in New Issue