* dav_depth has to be initialized non-null, hacky so far.
[citadel.git] / webcit / context_loop.c
index bca5fdf35080841a2411f293df7d61460041501b..bf201440433b4e4e5b7297312c8850769813195b 100644 (file)
@@ -477,6 +477,7 @@ void context_loop(ParsedHttpHdrs *Hdr)
         */
        isbogus = ReadHTTPRequest(Hdr);
 
+       Hdr->HR.dav_depth = 32767; /* TODO: find a general way to have non-0 defaults */
        if (!isbogus)
                isbogus = AnalyseHeaders(Hdr);