Fix echo-server example.
This commit is contained in:
parent
c95306245f
commit
e44db31532
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue