| Index: samples/chat/http_impl.dart
|
| diff --git a/samples/chat/http_impl.dart b/samples/chat/http_impl.dart
|
| index 62abf7689d285a32906fada0117f02ef12dabe07..ec4aa9389e563b3539c1f8a8583e02945f6899a8 100644
|
| --- a/samples/chat/http_impl.dart
|
| +++ b/samples/chat/http_impl.dart
|
| @@ -1111,9 +1111,8 @@ class HTTPServerImplementation implements HTTPServer {
|
|
|
| void listen(String host, int port, var callback) {
|
|
|
| - void connectionHandler() {
|
| + void connectionHandler(Socket socket) {
|
| // Accept the client connection.
|
| - Socket socket = _server.accept();
|
| HTTPConnection connection = new HTTPConnection(socket);
|
| connection.requestReceived = callback;
|
| _connections.addLast(connection);
|
|
|