diff options
author | Greg Clayton <gclayton@apple.com> | 2010-07-23 15:37:46 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-07-23 15:37:46 +0000 |
commit | 19503a2a78319cc52c3b7a295d7df1ce0574c290 (patch) | |
tree | 40be9cadea21640c5732e9a24c0f0be162070104 /lldb/source/Core/ConnectionFileDescriptor.cpp | |
parent | 5e6ef6d957c28f272fdc7d413e79aadb54050090 (diff) | |
download | bcm5719-llvm-19503a2a78319cc52c3b7a295d7df1ce0574c290.tar.gz bcm5719-llvm-19503a2a78319cc52c3b7a295d7df1ce0574c290.zip |
Warnings cleanup patch from Jean-Daniel Dupas.
llvm-svn: 109226
Diffstat (limited to 'lldb/source/Core/ConnectionFileDescriptor.cpp')
-rw-r--r-- | lldb/source/Core/ConnectionFileDescriptor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Core/ConnectionFileDescriptor.cpp b/lldb/source/Core/ConnectionFileDescriptor.cpp index 60d78f618fc..292bc746b0b 100644 --- a/lldb/source/Core/ConnectionFileDescriptor.cpp +++ b/lldb/source/Core/ConnectionFileDescriptor.cpp @@ -406,7 +406,7 @@ ConnectionFileDescriptor::SocketListen (uint16_t listen_port_num, Error *error_p "%p ConnectionFileDescriptor::SocketListen (port = %i)", this, listen_port_num); - Close (m_fd, false); + Close (m_fd, NULL); m_is_socket = true; int listen_port = ::socket (AF_INET, SOCK_STREAM, IPPROTO_TCP); if (listen_port == -1) @@ -470,7 +470,7 @@ ConnectionFileDescriptor::SocketConnect (const char *host_and_port, Error *error lldb_private::LogIfAnyCategoriesSet (LIBLLDB_LOG_CONNECTION, "%p ConnectionFileDescriptor::SocketConnect (host/port = %s)", this, host_and_port); - Close (m_fd, false); + Close (m_fd, NULL); m_is_socket = true; RegularExpression regex ("([^:]+):([0-9]+)"); @@ -534,7 +534,7 @@ ConnectionFileDescriptor::SocketConnect (const char *host_and_port, Error *error else error_ptr->SetErrorStringWithFormat("Invalid host string: '%s'.\n", host_str.c_str()); } - Close (m_fd, false); + Close (m_fd, NULL); return eConnectionStatusError; } } @@ -543,7 +543,7 @@ ConnectionFileDescriptor::SocketConnect (const char *host_and_port, Error *error { if (error_ptr) error_ptr->SetErrorToErrno(); - Close (m_fd, false); + Close (m_fd, NULL); return eConnectionStatusError; } |