[Linux-ha-dev] minor bug-fix for snmp_subagent
alanr at unix.sh
Thu Oct 14 08:19:45 MDT 2004
KUROSAWA Takahiro wrote:
> I've got a "select() returned with an error" error when running
> the SNMP subagent. It seems that the timeout value sould be initialized
> before calling snmp_select_info() according to its implementation.
> Also, it might be better to initialize the variable "block" to 0.
> The attached patch fixes these. But I don't understand the code
> enough yet, so it might be wrong in some parts.
This fix looks either right or harmless at best - so I applied it. If
Yixiong doesn't agree, he can always fix it right ;-)
As always, thanks for you diligence and hard work!
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
More information about the Linux-HA-Dev