X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fdav_options.c;h=b918730014434798ab65b225b89f40fcd0ce1bc8;hp=ada3e41ef5fa1f40dcccf9c4ececb162d2fdf395;hb=7c75121fc25fe20a03fdb05a4d6bfbea3d92f07a;hpb=526410bf2227f1574b6760264436a22dd02ca244 diff --git a/webcit/dav_options.c b/webcit/dav_options.c index ada3e41ef..b91873001 100644 --- a/webcit/dav_options.c +++ b/webcit/dav_options.c @@ -125,7 +125,10 @@ void dav_options(void) * We got to this point, which means that the client is requesting * an OPTIONS on the room itself. */ - syslog(LOG_DEBUG, "\033[36mOPTIONS requested for room\033[0m"); + syslog(LOG_DEBUG, "\033[36mOPTIONS requested for room '%s' (%slogged in)\033[0m", + ChrPtr(WC->CurRoom.name), + ((WC->logged_in) ? "" : "not ") + ); hprintf("HTTP/1.1 200 OK\r\n"); dav_common_headers(); hprintf("Date: %s\r\n", datestring); @@ -135,13 +138,14 @@ void dav_options(void) */ if ( (WC->CurRoom.view == VIEW_CALENDAR) || (WC->CurRoom.view == VIEW_CALBRIEF) ) { hprintf("DAV: 1, calendar-access\r\n"); + syslog(LOG_DEBUG, "\033[36mDAV: 1, calendar-access\033[0m"); } else { hprintf("DAV: 1\r\n"); + syslog(LOG_DEBUG, "\033[36mDAV: 1\033[0m"); } hprintf("Allow: OPTIONS, PROPFIND, GET, PUT\r\n"); begin_burst(); - wc_printf("\r\n"); end_burst(); }