diff options
author | sma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2012-08-20 09:27:58 +0000 |
---|---|---|
committer | sma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2012-08-20 09:27:58 +0000 |
commit | eaadfb87d5d98189ca5c1696124607f990b819ec (patch) | |
tree | bc2dea782d3a029d3e775dd5b6a5c01560c0a960 | |
parent | 70e72648e1a6e2477f1186f734f04e98d2f02e19 (diff) | |
download | ATCD-eaadfb87d5d98189ca5c1696124607f990b819ec.tar.gz |
Mon Aug 20 09:26:30 UTC 2012 Simon Massey <sma at prismtech dot com>
orbsvcs/orbsvcs/PortableGroup/UIPMC_Mcast_Transport.cpp: Coverity detected very unlikely fault fixed.
-rw-r--r-- | TAO/ChangeLog | 6 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Mcast_Transport.cpp | 13 |
2 files changed, 17 insertions, 2 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index ede968f7b70..b2481d617d9 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,9 @@ +Mon Aug 20 09:26:30 UTC 2012 Simon Massey <sma at prismtech dot com> + + * orbsvcs/orbsvcs/PortableGroup/UIPMC_Mcast_Transport.cpp: + + Coverity detected very unlikely fault fixed. + Thu Aug 16 12:32:58 UTC 2012 Olli Savia <ops@iki.fi> * orbsvcs/orbsvcs/FTORB.mpc: diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Mcast_Transport.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Mcast_Transport.cpp index 91c9712aa5e..1fb5a090e1b 100644 --- a/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Mcast_Transport.cpp +++ b/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Mcast_Transport.cpp @@ -320,8 +320,17 @@ TAO_UIPMC_Mcast_Transport::recv_all (void) packet_length, packet_number, stop_packet, id_hash); // The socket buffer is empty. Try to do other useful things. - if (start_data == 0 && (errno == EWOULDBLOCK || errno == EAGAIN)) - break; + if (start_data == 0) + { + if (errno != EWOULDBLOCK && errno != EAGAIN) + { + ACE_DEBUG ((LM_DEBUG, + ACE_TEXT ("TAO (%P|%t) - UIPMC_Mcast_Transport[%d]::") + ACE_TEXT ("recv_all, unexpected failure of recv_packet '%m'\n"), + this->id ())); + } + break; + } if (TAO_debug_level >= 10) { |