Fix error message.

This commit is contained in:
Sönke Ludwig 2017-01-30 22:52:36 +01:00
parent d9c373419a
commit 72913575f4
No known key found for this signature in database
GPG key ID: D95E8DB493EE314C

View file

@ -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);
}