Added the reason why servers_waiting needs to be a signed integer.

This commit is contained in:
Robert James Kaes 2002-04-29 16:31:16 +00:00
parent 3284f365b2
commit fefedea577

View File

@ -21,6 +21,10 @@
2002-04-26 Robert James Kaes <rjkaes@flarenet.com> 2002-04-26 Robert James Kaes <rjkaes@flarenet.com>
* src/thread.c: servers_waiting needs to be signed, since it can
go below 0 without causing a problem, but if it wraps around all
hell can break loose.
* src/reqs.c (connect_to_tunnel): Changed the len type to an * src/reqs.c (connect_to_tunnel): Changed the len type to an
signed integer so that we can detect error conditions. Thanks to signed integer so that we can detect error conditions. Thanks to
Tom Cross for pointing out this problem. Tom Cross for pointing out this problem.