diff options
Diffstat (limited to 'libjava/gnu/java/net/natPlainSocketImplPosix.cc')
-rw-r--r-- | libjava/gnu/java/net/natPlainSocketImplPosix.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/gnu/java/net/natPlainSocketImplPosix.cc b/libjava/gnu/java/net/natPlainSocketImplPosix.cc index e21013bf72e..dabf6e65fc0 100644 --- a/libjava/gnu/java/net/natPlainSocketImplPosix.cc +++ b/libjava/gnu/java/net/natPlainSocketImplPosix.cc @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation +/* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2012 Free Software Foundation This file is part of libgcj. @@ -277,7 +277,7 @@ gnu::java::net::PlainSocketImpl::accept (gnu::java::net::PlainSocketImpl *s) JvNewStringUTF("Accept timed out")); } - new_socket = _Jv_accept (native_fd, (sockaddr*) &u, &addrlen); + new_socket = ::accept (native_fd, (sockaddr*) &u, &addrlen); if (new_socket < 0) goto error; |