It may be good enough, but most timeout values other than those that produce 0 
from the division (less than 3) will cause dig to only timeout twice with the 
patch.  I think the disagreement is philosophical at this point:  I would 
rather allow the user to control the behavior - if they have a slow server or 
an intermittent one, they may wish for more retries etc.  So we will stick with 
floating point division, though this does work just fine as well and escapes 
having to pull in the math libraries. 

Cheers all.

@willix.  no bitwise thank you, though it is clever :)

---
Reply to this email directly or view it on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/commit/e33ecc84c7ebdf4af3e8649a326e8a5acc9fe5b6#commitcomment-5230439

Reply via email to