Branch: Tag:

2002-07-02

2002-07-02 12:15:33 by Anders Johansson <anders@roxen.com>

Avoid error if the error variable is bogus.

Rev: server/protocols/http.pike:1.371

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2001, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.370 2002/06/27 12:48:50 anders Exp $"; + constant cvs_version = "$Id: http.pike,v 1.371 2002/07/02 12:15:33 anders Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
1881: Inside #if defined(MAGIC_ERROR)
   if(prestate->old_error)    {    array err = get_error(variables->error); -  if(err) +  if(err && arrayp(err))    {    if(prestate->plain)    {