diff --git a/source/vibe/core/net.d b/source/vibe/core/net.d index ba12fa7..f0b353e 100644 --- a/source/vibe/core/net.d +++ b/source/vibe/core/net.d @@ -109,7 +109,7 @@ TCPListener listenTCP(ushort port, TCPConnectionDelegate connection_callback, st auto conn = TCPConnection(s, addr); runTask(connection_callback, conn); }); - enforce(sock != StreamListenSocketFD.invalid, "Failed to listen on %s", address); + enforce(sock != StreamListenSocketFD.invalid, "Failed to listen on "~addr.toString()); return TCPListener(sock); }