From 72280338ef6fe96cd2a0da21355afd45f176d171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Mon, 23 Jan 2017 11:03:36 +0100 Subject: [PATCH] Fix compile error in http server example. --- examples/http-server.d | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/http-server.d b/examples/http-server.d index 44ab8c5..7abbbd8 100644 --- a/examples/http-server.d +++ b/examples/http-server.d @@ -47,9 +47,8 @@ struct ClientHandler { void handleConnection() { - int fd = client; //import core.thread; - //() @trusted { print("Connection %d %s", fd, cast(void*)Thread.getThis()); } (); + //() @trusted { print("Connection %d %s", client, cast(void*)Thread.getThis()); } (); readLine(&onRequestLine); }