diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-02-18 03:20:59 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-02-18 03:20:59 +0000 |
commit | 044465386cb8dd9075d80fb98e221069556f6ff0 (patch) | |
tree | 54a8aa4d966b07ef0b6d778a16290d8178e77f31 /ace/SPIPE_Acceptor.cpp | |
parent | 3349e6ba8e89325f398df0791384248a644b2a7a (diff) | |
download | ATCD-044465386cb8dd9075d80fb98e221069556f6ff0.tar.gz |
foo
Diffstat (limited to 'ace/SPIPE_Acceptor.cpp')
-rw-r--r-- | ace/SPIPE_Acceptor.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/ace/SPIPE_Acceptor.cpp b/ace/SPIPE_Acceptor.cpp index e89fdcdab6b..af5adf48a3d 100644 --- a/ace/SPIPE_Acceptor.cpp +++ b/ace/SPIPE_Acceptor.cpp @@ -84,8 +84,8 @@ ACE_SPIPE_Acceptor::create_new_instance (int perms) FILE_FLAG_OVERLAPPED, PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE, MAX_PIPE_INSTANCES, - 1024*10, - 1024*10, + 1024 * 10, + 1024 * 10, ACE_DEFAULT_TIMEOUT, NULL); if (handle == ACE_INVALID_HANDLE) @@ -94,6 +94,7 @@ ACE_SPIPE_Acceptor::create_new_instance (int perms) this->set_handle (handle); return 0; #else + ACE_UNUSED_ARG (perms); ACE_NOTSUP_RETURN (-1); #endif /* ACE_HAS_STREAM_PIPES */ } @@ -158,9 +159,9 @@ ACE_SPIPE_Acceptor::accept (ACE_SPIPE_Stream &new_io, return 0; #elif defined (ACE_WIN32) - ACE_UNUSED_ARG(restart); - ACE_UNUSED_ARG(timeout); - ACE_UNUSED_ARG(remote_addr); + ACE_UNUSED_ARG (restart); + ACE_UNUSED_ARG (timeout); + ACE_UNUSED_ARG (remote_addr); // Check to see if we have a valid pipe if (this->get_handle () == ACE_INVALID_HANDLE) @@ -210,6 +211,10 @@ ACE_SPIPE_Acceptor::accept (ACE_SPIPE_Stream &new_io, // Create a new instance of the pipe for the next connection. return this->create_new_instance (); #else + ACE_UNUSED_ARG (restart); + ACE_UNUSED_ARG (timeout); + ACE_UNUSED_ARG (remote_addr); + ACE_UNUSED_ARG (new_io); ACE_NOTSUP_RETURN (-1); #endif /* ACE_HAS_STREAM_PIPES */ } |