]> code.citadel.org Git - citadel.git/blobdiff - webcit/tests/test_tools.c
Finally removed the cached/hashed static directory stuff. This should put us into...
[citadel.git] / webcit / tests / test_tools.c
index 6b3b31bd235a231abee49b5ca6cdca0e81e9f475..9a9654779c63e2706ed2878665509107a973b2cc 100644 (file)
@@ -1,3 +1,4 @@
+#include "webcit_test.h"
 #include <CUnit/CUnit.h>
 #include <CUnit/Basic.h>
 #include <CUnit/TestDB.h>
@@ -21,6 +22,7 @@ extern StrBuf *Passvoid;
 
 extern int ReadHttpSubject(ParsedHttpHdrs *Hdr, StrBuf *Line, StrBuf *Buf);
 extern wcsession *CreateSession(int Lockable, wcsession **wclist, ParsedHttpHdrs *Hdr, pthread_mutex_t *ListMutex);
+extern void groupdav_main(void);
 
 
 
@@ -83,7 +85,7 @@ void SetUpRequest(const char *UrlPath)
        memset(pHdr, 0, sizeof(OneHttpHeader));
        pHdr->Val = Line;
        Put(Hdr.HTTPHeaders, HKEY("GET /"), pHdr, DestroyHttpHeaderHandler);
-       lprintf(9, "%s\n", ChrPtr(Line));
+       syslog(9, "%s\n", ChrPtr(Line));
 
        if (ReadHttpSubject(&Hdr, Line, HeaderName))
                CU_FAIL("Failed to parse Request line / me is bogus!");