X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fdav_propfind.c;h=e6d0abb5e5b3f1cafb5260e15a848d64c415481e;hb=c25a495d3b69186484055a5932bd5237b88de2fa;hp=96129045c98b8341573c0d2a61cee7d37ca45039;hpb=60cb231e6d923de13479a6123237f92d5091aaee;p=citadel.git diff --git a/webcit/dav_propfind.c b/webcit/dav_propfind.c index 96129045c..e6d0abb5e 100644 --- a/webcit/dav_propfind.c +++ b/webcit/dav_propfind.c @@ -12,19 +12,14 @@ * * Copyright (c) 2005-2011 by the citadel.org team * - * This program is open source software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. + * This program is open source software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "webcit.h" @@ -463,8 +458,7 @@ void dav_propfind(void) StrBufExtract_token(dav_uid, WCC->Hdr->HR.ReqLine, 1, '/'); /* - * If the room name is blank, the client is requesting a - * folder list. + * If the room name is blank, the client is requesting a folder list. */ if (StrLength(dav_roomname) == 0) { dav_collection_list(); @@ -482,9 +476,7 @@ void dav_propfind(void) dav_common_headers(); hprintf("Date: %s\r\n", datestring); hprintf("Content-Type: text/plain\r\n"); - wc_printf("There is no folder called \"%s\" on this server.\r\n", - ChrPtr(dav_roomname) - ); + wc_printf("There is no folder called \"%s\" on this server.\r\n", ChrPtr(dav_roomname)); end_burst(); FreeStrBuf(&dav_roomname); FreeStrBuf(&dav_uid); @@ -571,9 +563,9 @@ void dav_propfind(void) dav_common_headers(); hprintf("Date: %s\r\n", datestring); hprintf("Content-type: text/xml\r\n"); - if (DisableGzip || (!WCC->Hdr->HR.gzip_ok)) + if (DisableGzip || (!WCC->Hdr->HR.gzip_ok)) { hprintf("Content-encoding: identity\r\n"); - + } begin_burst(); wc_printf(""