Index: net/base/listen_socket_unittest.cc |
=================================================================== |
--- net/base/listen_socket_unittest.cc (revision 48256) |
+++ net/base/listen_socket_unittest.cc (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 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 @@ |
// verify the connect/accept and setup test_socket_ |
test_socket_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); |
- ASSERT_NE(-1, test_socket_); |
+ ASSERT_NE(INVALID_SOCKET, test_socket_); |
struct sockaddr_in client; |
client.sin_family = AF_INET; |
client.sin_addr.s_addr = inet_addr(kLoopback); |