httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Suggested mod_status.c patch
Date Tue, 21 May 1996 20:41:42 GMT
Ben Laurie wrote:
> 
> Jim Jagielski wrote:
> > 
> > I found this patchfile for the stat-module on hyperreal. It looked
> > pretty good and added some nice features. I've updated/modified/improved
> > it to be the beastie below. It patches cleanly against the current
> > CVS tree. I think it would be a good addition for 1.1b4.
> 
> Looks interesting but...
> > ! int update_child_status (int child_num, int status, request_rec *r)
> >   {
> >       short_score new_score_rec;
> > +     int old_status;
> > + 
> > +     if (child_num < 0)
> > + 	return scoreboard_image[child_num].status;
> 
> Can this be right? I think not.


Oops... should be:

	return -1;

-- 
Jim Jagielski  << jim@jaguNET.com >>   |      "That's a Smith & Wesson,
  **  jaguNET Access Services  **      |       and you've had your six" 
      Email: info@jaguNET.com          |             - James Bond
++    http://www.jaguNET.com/         +++      Voice/Fax: 410-931-3157       ++

Mime
View raw message