summaryrefslogtreecommitdiff
path: root/ace/UPIPE_Connector.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ace/UPIPE_Connector.inl')
-rw-r--r--ace/UPIPE_Connector.inl12
1 files changed, 8 insertions, 4 deletions
diff --git a/ace/UPIPE_Connector.inl b/ace/UPIPE_Connector.inl
index 980d8a28164..b45134f1067 100644
--- a/ace/UPIPE_Connector.inl
+++ b/ace/UPIPE_Connector.inl
@@ -1,6 +1,9 @@
-/* -*- C++ -*- */
+// -*- C++ -*-
+//
// $Id$
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
// Creates a Local ACE_UPIPE.
ACE_INLINE
ACE_UPIPE_Connector::ACE_UPIPE_Connector (ACE_UPIPE_Stream &new_stream,
@@ -13,7 +16,7 @@ ACE_UPIPE_Connector::ACE_UPIPE_Connector (ACE_UPIPE_Stream &new_stream,
{
ACE_TRACE ("ACE_UPIPE_Connector::ACE_UPIPE_Connector");
if (this->connect (new_stream, addr, timeout, local_sap,
- reuse_addr, flags, perms) == -1
+ reuse_addr, flags, perms) == -1
&& timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIME))
ACE_ERROR ((LM_ERROR,
ACE_LIB_TEXT ("address %s, %p\n"),
@@ -22,9 +25,10 @@ ACE_UPIPE_Connector::ACE_UPIPE_Connector (ACE_UPIPE_Stream &new_stream,
}
ACE_INLINE int
-ACE_UPIPE_Connector::reset_new_handle (ACE_HANDLE handle)
+ACE_UPIPE_Connector::reset_new_handle (ACE_HANDLE /* handle */)
{
- ACE_UNUSED_ARG (handle);
// Nothing to do here since the handle is not a socket
return 0;
}
+
+ACE_END_VERSIONED_NAMESPACE_DECL