Skip to content

Commit

Permalink
Revert "minor changes"
Browse files Browse the repository at this point in the history
This reverts commit 8a93cb6.
  • Loading branch information
skypjack committed May 27, 2019
1 parent ff19fe0 commit e59a989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/uvw/tcp.cpp
Expand Up @@ -70,7 +70,7 @@ TEST(TCP, SockPeer) {
server->on<uvw::ErrorEvent>([](const auto &, auto &) { FAIL(); });
client->on<uvw::ErrorEvent>([](const auto &, auto &) { FAIL(); });

server->once<uvw::ListenEvent>([&address](const uvw::ListenEvent &, uvw::TCPHandle &handle) {
server->once<uvw::ListenEvent>([&address, port](const uvw::ListenEvent &, uvw::TCPHandle &handle) {
std::shared_ptr<uvw::TCPHandle> socket = handle.loop().resource<uvw::TCPHandle>();

socket->on<uvw::ErrorEvent>([](const uvw::ErrorEvent &, uvw::TCPHandle &) { FAIL(); });
Expand Down

0 comments on commit e59a989

Please sign in to comment.