Branch: Tag:

2003-12-22

2003-12-22 17:12:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Moved some DAV replated debug to DAV_DEBUG.

Rev: server/base_server/module.pike:1.148
Rev: server/base_server/prototypes.pike:1.66
Rev: server/modules/misc/webdav.pike:1.2

6:   #include <module.h>   #include <variables.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.65 2003/12/15 09:47:59 grubba Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.66 2003/12/22 17:12:18 grubba Exp $";      class Variable   {
1039: Inside #if constant(Parser.XML.Tree.XMLNSParser)
     #if constant(Parser.XML.Tree.XMLNSParser)    + #ifdef DAV_DEBUG + #define DAV_WERROR(X...) werror(X) + #else /* !DAV_DEBUG */ + #define DAV_WERROR(X...) + #endif /* DAV_DEBUG */ +    static constant Node = Parser.XML.Tree.Node;   static constant TextNode = Parser.XML.Tree.TextNode;   static constant ElementNode = Parser.XML.Tree.ElementNode;
1152: Inside #if constant(Parser.XML.Tree.XMLNSParser)
   message = prop_value->data;    }    -  werror("Adding property %O code:%O val:%O\n", prop_name, code, prop_value); +  DAV_WERROR("Adding property %O code:%O val:%O\n", +  prop_name, code, prop_value);    if (!(stat_nodes = status_set[href])) {    status_set[href] = ({ stat_node = XMLPropStatNode(code, message) });    } else {
1188: Inside #if constant(Parser.XML.Tree.XMLNSParser)
   array(Node) response_xml = allocate(sizeof(status_set));    int i;    -  werror("Generating XML Nodes for status_set:%O\n", +  DAV_WERROR("Generating XML Nodes for status_set:%O\n",    status_set);       foreach(sort(indices(status_set)), string href) {