2002-07-02
2002-07-02 12:15:33 by Anders Johansson <anders@roxen.com>
-
84732fe0400799515393bebc75876326d3f95ff2
(5 lines)
(+3/-2)
[
Show
| Annotate
]
Branch: 5.2
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)
{