From f863a2c932e0b68c41f06516a7c7020498a7022d Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 11 Jun 1998 21:28:37 +0000 Subject: *** empty log message *** --- ace/Asynch_IO.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'ace/Asynch_IO.cpp') diff --git a/ace/Asynch_IO.cpp b/ace/Asynch_IO.cpp index 18d2925fb01..93077326f1d 100644 --- a/ace/Asynch_IO.cpp +++ b/ace/Asynch_IO.cpp @@ -129,7 +129,7 @@ ACE_Asynch_Operation::open (ACE_Handler &handler, return this->proactor_->register_handle (this->handle_, completion_key); #else /* ACE_HAS_AIO_CALLS */ - // AIO stuff is present. So no registering business. + // AIO stuff is present. So no registering. return 1; #endif /* ACE_HAS_AIO_CALLS */ } @@ -182,7 +182,7 @@ ACE_Asynch_Read_Stream::shared_read (ACE_Asynch_Read_Stream::Result *result) // store this with the Proactor, so that that can be used for // and . aiocb *aiocb_ptr; - ACE_NEW_RETURN (aiocb_ptr, + ACE_NEW_RETURN (aiocb_ptr, aiocb, -1); @@ -215,7 +215,7 @@ ACE_Asynch_Read_Stream::shared_read (ACE_Asynch_Read_Stream::Result *result) -1); // Aio successfully issued and ptr stored. - return 1; + return 0; #else /* ACE_HAS_AIO_CALLS */ u_long bytes_read; @@ -944,9 +944,8 @@ ACE_Asynch_Transmit_File::Header_And_Trailer::trailer_bytes (u_long bytes) this->trailer_bytes_ = bytes; } -#if 0 ACE_LPTRANSMIT_FILE_BUFFERS -ACE_Asynch_Transmit_Fie::Header_And_Trailer::transmit_buffers (void) +ACE_Asynch_Transmit_File::Header_And_Trailer::transmit_buffers (void) { // If both are zero, return zero if (this->header_ == 0 && this->trailer_ == 0) @@ -983,7 +982,6 @@ ACE_Asynch_Transmit_Fie::Header_And_Trailer::transmit_buffers (void) return &this->transmit_buffers_; } } -#endif /* 0 */ // ************************************************************ -- cgit v1.2.1