Branch: Tag:

2002-07-03

2002-07-03 12:56:00 by Martin Nilsson <mani@lysator.liu.se>

Avoid error if the error variable is bogus.

Rev: server/plugins/protocols/http.pike:1.374

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2001, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.373 2002/07/03 12:44:18 nilsson Exp $"; + constant cvs_version = "$Id: http.pike,v 1.374 2002/07/03 12:56:00 nilsson 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)    {