Fix echo-server example.

This commit is contained in:
Sönke Ludwig 2017-10-30 23:08:08 +01:00
parent c95306245f
commit e44db31532
No known key found for this signature in database
GPG key ID: D95E8DB493EE314C

View file

@ -4,6 +4,6 @@ import vibe.core.stream : pipe;
void main() void main()
{ {
listenTCP(7000, (conn) => pipe(conn, conn)); listenTCP(7000, (conn) { pipe(conn, conn); });
runApplication(); runApplication();
} }