commit | f31d2ed1fd3a39a92bccc12eb66728594290ef3b | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Tue Sep 14 09:55:22 2010 -0700 |
committer | Kenny Root <kroot@google.com> | Tue Sep 14 09:55:22 2010 -0700 |
tree | 7cff1f0796d7ff93ccdf3ae8cd3ac4022e932072 | |
parent | 09dd3e57b920c8f65cb486313a4c0f35b8cb9f46 [diff] |
Return false on socket read error FrameworkListener was returning the errno from a function marked as returning bool which caused an implicit conversion to true since we were in an error block where errno was set to something non-zero. This caused the clients that had errors to stick around forever and not get removed from the set of file descriptors that SocketListener was listening to. Change-Id: Ia27a4cac47459f3a3c2bb6a7f66803a3165c894a