[haiku-commits] Re: haiku: hrev51039 - src/servers/net

  • From: Fredrik Holmqvist <fredrik.holmqvist@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 25 Mar 2017 13:49:06 +0000

lör 25 mars 2017 kl 14:11 skrev Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:

Am 25/03/2017 um 13:42 schrieb fredrik.holmqvist@xxxxxxxxx:
  Moved timout handling into its own struct, and changed state
  timeout from max(remaing, 60s) to min(remaining, MAX_TIMEOUT)

It wasn't 60s but 60ms. It does make sense to restrict the minimum, as
"remaining" might get a negative value; it does not really make sense to
limit the value at the other end, though, as that's a computation that
cannot really create bogus values IIRC.


Ah, that makes so much more sense. Will fix that.

/Fredrik Holmqvist, TQH

Other related posts: