more logging and chardata stuff
authorArt Cancro <ajc@citadel.org>
Mon, 12 Feb 2024 16:09:23 +0000 (11:09 -0500)
committerArt Cancro <ajc@citadel.org>
Mon, 12 Feb 2024 16:09:23 +0000 (11:09 -0500)
webcit-ng/server/caldav_reports.c

index e2a4e081f214390f872a81283d02c3d70010f529..15a05dccf50c6e63de5d2237b434af6729ee365a 100644 (file)
@@ -116,16 +116,14 @@ void caldav_xml_chardata(void *data, const XML_Char *s, int len) {
        for (i=0; i<crp->tag_nesting_level; ++i) {
                strcat(indent, "ยทยท");
        }
-       syslog(LOG_DEBUG, "%s%s", indent, app);
+       syslog(LOG_DEBUG, "%s%s", indent, app, len);
        // end logging
 #endif
 
-
        if (crp->Chardata == NULL) {
                crp->Chardata = NewStrBuf();
        }
 
-       //StrBufAppendBufPlain(crp->Chardata, s, len, 0);
        StrBufAppendBufPlain(crp->Chardata, app, len, 0);
        free(app);