Branch: Tag:

2008-02-18

2008-02-18 17:45:05 by Martin Stjernholm <mast@lysator.liu.se>

Need to update FakedVariables when real_variables is replaced in
decode_query.

Rev: server/base_server/prototypes.pike:1.208

6:   #include <module.h>   #include <variables.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.207 2008/02/18 16:48:20 mast Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.208 2008/02/18 17:45:05 mast Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
2211:    if (real_variables && sizeof (real_variables))    foreach (vars; string var; array(string) vals)    real_variables[var] += vals; -  else real_variables = vars; +  else { +  real_variables = vars; +  // Must fix the mapping in FakedVariables too. +  variables = FakedVariables (vars); +  } +     rest_query = rest;    }