* dav_depth has to be initialized non-null, hacky so far.
authorWilfried Göesgens <willi@citadel.org>
Thu, 1 Oct 2009 19:06:58 +0000 (19:06 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 1 Oct 2009 19:06:58 +0000 (19:06 +0000)
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);