Branch: Tag:

2000-05-07

2000-05-07 21:24:47 by Francesco Chemolli <li@kinkie.it>

Fixed buglet with destructing a nonexistant throttler-object.

Rev: server/base_server/configuration.pike:1.305

3:   //   // German translation by Kai Voigt    - constant cvs_version = "$Id: configuration.pike,v 1.304 2000/04/25 22:19:38 jhs Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.305 2000/05/07 21:24:47 kinkie Exp $";   constant is_configuration = 1;   #include <module.h>   #include <roxen.h>
2880:    query("throttle_min_grant"),    query("throttle_max_grant"));    } else { +  if (throttler) { //check, or get a backtrace the first time it's set    THROTTLING_DEBUG("configuration: Stopping throttler");    destruct(throttler);    throttler=0;    } -  +  }    return 0;    case "throttle_fill_rate":    case "throttle_bucket_depth":