check_dig: stick with integer devision (e33ecc8)

William Leibzon notifications at github.com
Thu Jan 30 19:39:34 CET 2014


long long timeout_interval_ll = (timeout_interval<<8);
timeout_interval_ll = timeout_interval_ll / ( number_tries<<8);
int timeout_interval_dig  = (timeout_interval_lg >>8) + number_tries;



---
Reply to this email directly or view it on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/commit/e33ecc84c7ebdf4af3e8649a326e8a5acc9fe5b6#commitcomment-5228709
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20140130/de79106b/attachment.html>


More information about the Devel mailing list