summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp')
-rw-r--r--TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp b/TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp
index 924c1046a04..7bb9e034a28 100644
--- a/TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp
+++ b/TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp
@@ -73,20 +73,20 @@ Bench_Server_StreamEndPoint::handle_connection_requested (AVStreams::flowSpec &t
(void *) &sndbufsize,
sizeof (sndbufsize)) == -1
&& errno != ENOTSUP)
- return 0;
+ return -1;
else if (this->tcp_stream_.set_option (SOL_SOCKET,
SO_RCVBUF,
(void *) &rcvbufsize,
sizeof (rcvbufsize)) == -1
&& errno != ENOTSUP)
- return 0;
+ return -1;
int one = 1;
if (this->tcp_stream_.set_option (SOL_SOCKET,
TCP_NODELAY,
(char *)& one,
sizeof (one)) == -1 )
- return 0;
+ return -1;
ACE_NEW_RETURN (this->stream_handler_,
ttcp_Stream_Handler (this->tcp_stream_.get_handle ()),