diff options
-rw-r--r-- | ppapi/tests/test_tcp_server_socket_private.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/tests/test_tcp_server_socket_private.cc b/ppapi/tests/test_tcp_server_socket_private.cc index ed1ab63..26673b8 100644 --- a/ppapi/tests/test_tcp_server_socket_private.cc +++ b/ppapi/tests/test_tcp_server_socket_private.cc @@ -234,9 +234,10 @@ std::string TestTCPServerSocketPrivate::TestBacklog() { connect_rv[i] = client_sockets[i]->ConnectWithNetAddress( &address, *connect_callbacks[i]); - if (force_async_ && connect_rv[i] != PP_OK_COMPLETIONPENDING) + if (force_async_ && connect_rv[i] != PP_OK_COMPLETIONPENDING) { return ReportError("PPB_TCPSocket_Private::Connect force_async", connect_rv[i]); + } } std::vector<PP_Resource> resources(kBacklog); |