summaryrefslogtreecommitdiff
path: root/ace/MEM_Stream.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-01-12 11:32:05 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-01-12 11:32:05 +0000
commit39821fb9b116e2a54f2458e58de8b40eda8ccdd3 (patch)
tree914fd5afe15dbbff79add22e3811f9d58fb8fd8c /ace/MEM_Stream.i
parentfa2f2a87da34c8c412e03372b6e6701c031378ab (diff)
downloadATCD-39821fb9b116e2a54f2458e58de8b40eda8ccdd3.tar.gz
ChangeLogTag:Wed Jan 10 23:30:21 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'ace/MEM_Stream.i')
-rw-r--r--ace/MEM_Stream.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/MEM_Stream.i b/ace/MEM_Stream.i
index 7aa77710e49..07f68fafdd0 100644
--- a/ace/MEM_Stream.i
+++ b/ace/MEM_Stream.i
@@ -29,7 +29,7 @@ ACE_MEM_Stream::close_reader (void)
{
ACE_TRACE ("ACE_MEM_Stream::close_reader");
if (this->get_handle () != ACE_INVALID_HANDLE)
- return ACE_OS::shutdown (this->get_handle (), 0);
+ return ACE_OS::shutdown (this->get_handle (), ACE_SHUTDOWN_READ);
else
return 0;
}
@@ -41,7 +41,7 @@ ACE_MEM_Stream::close_writer (void)
{
ACE_TRACE ("ACE_MEM_Stream::close_writer");
if (this->get_handle () != ACE_INVALID_HANDLE)
- return ACE_OS::shutdown (this->get_handle (), 1);
+ return ACE_OS::shutdown (this->get_handle (), ACE_SHUTDOWN_WRITE);
else
return 0;
}