From 72913575f4898bd5a714eb5d2b36d0eefca4eb29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Mon, 30 Jan 2017 22:52:36 +0100 Subject: [PATCH] Fix error message. --- source/vibe/core/net.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }