[omniORB] 4.2.0 tcpSocket->setTimeout bug suspicion
Duncan Grisby
duncan at grisby.org
Tue Nov 25 12:36:50 GMT 2014
On Mon, 2014-11-10 at 20:25 +0400, Andry wrote:
[...]
> After a dig up corba code a while, i've found a strange line of code:
> omniORB-4.2.0\include\omniORB4\internal\tcpSocket.h, 384
>
> --------------------------------
> if (deadline < now) {
> t.tv_sec = t.tv_usec = 0;
> return 1;
> }
Yes, you are right. The test should be deadline <= now. I've checked in
your fix.
Thanks,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list