}
char *unescaped_euid = strdup(euid);
- if (!unescaped_euid)
+ if (!unescaped_euid) {
return;
+ }
unescape_input(unescaped_euid);
StrBufAppendPrintf(ReportOut, "<D:response>");
// Now begin the REPORT.
syslog(LOG_DEBUG, "CalDAV REPORT type is: %d", crp.report_type);
StrBuf *ReportOut = NewStrBuf();
- StrBufAppendPrintf(ReportOut, "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
- "<D:multistatus " "xmlns:D=\"DAV:\" " "xmlns:C=\"urn:ietf:params:xml:ns:caldav\"" ">");
+ StrBufAppendPrintf(ReportOut,
+ "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
+ "<D:multistatus "
+ "xmlns:D=\"DAV:\" "
+ "xmlns:C=\"urn:ietf:params:xml:ns:caldav\""
+ ">"
+ );
if (crp.Hrefs != NULL) { // Output all qualifying calendar items!
StrBuf *ThisHref = NewStrBuf();