Index: net/base/listen_socket_unittest.cc |
diff --git a/net/base/listen_socket_unittest.cc b/net/base/listen_socket_unittest.cc |
index ed2b566ea2b2c341d80e5734697bc67477058f02..eb224c3669c18b49a89812e867b197845b590e72 100644 |
--- a/net/base/listen_socket_unittest.cc |
+++ b/net/base/listen_socket_unittest.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -54,7 +54,7 @@ void ListenSocketTester::SetUp() { |
// verify the connect/accept and setup test_socket_ |
test_socket_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); |
- ASSERT_NE(INVALID_SOCKET, test_socket_); |
+ ASSERT_NE(-1, test_socket_); |
struct sockaddr_in client; |
client.sin_family = AF_INET; |
client.sin_addr.s_addr = inet_addr(kLoopback); |