Roxen.git/
server/
modules/
misc/
webdav.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2004-03-24
2004-03-24 13:28:12 by Anders Johansson <anders@roxen.com>
fb6c4300076f4431706b7d1879942dce5775bd0f (
9
lines) (+
7
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Only try to trace when request trace is on.
Rev: server/modules/misc/webdav.pike:1.11
1:
// Protocol support for RFC 2518 //
-
// $Id: webdav.pike,v 1.
10
2004/03/
23
16
:
48
:
48
mast
Exp $
+
// $Id: webdav.pike,v 1.
11
2004/03/
24
13
:
28
:
12
anders
Exp $
// // 2003-09-17 Henrik Grubbström
9:
#include <module.h> #include <request_trace.h>
-
constant cvs_version = "$Id: webdav.pike,v 1.
10
2004/03/
23
16
:
48
:
48
mast
Exp $";
+
constant cvs_version = "$Id: webdav.pike,v 1.
11
2004/03/
24
13
:
28
:
12
anders
Exp $";
constant thread_safe = 1; constant module_name = "DAV: Protocol support"; constant module_type = MODULE_FIRST;
80:
SIMPLE_TRACE_ENTER (0, "Setting property %O to %O", property_name, value); #endif mapping(string:mixed) res = context->set_property(property_name, value);
+
#ifdef REQUEST_TRACE
SIMPLE_TRACE_LEAVE (res ? sprintf ("Got status %d: %O", res->error, res->rettext) : "");
-
+
#endif
return res; } }
99:
SIMPLE_TRACE_ENTER (0, "Removing property %O", property_name); #endif mapping(string:mixed) res = context->remove_property(property_name);
+
#ifdef REQUEST_TRACE
SIMPLE_TRACE_LEAVE (res ? sprintf ("Got status %d: %O", res->error, res->rettext) : "");
-
+
#endif
return res; } }