From e45dfff1ec549046028a61a39bf52dc2ade3f90b Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 4 Jan 2012 10:17:17 -0500 Subject: [PATCH] extern int DisableGzip declaration moved to webcit.h --- webcit/dav_propfind.c | 7 ++----- webcit/tcp_sockets.c | 1 - webcit/webcit.h | 1 + 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/webcit/dav_propfind.c b/webcit/dav_propfind.c index ebf145291..f9f2892e4 100644 --- a/webcit/dav_propfind.c +++ b/webcit/dav_propfind.c @@ -1,5 +1,5 @@ /* - * Handles GroupDAV PROPFIND requests. + * Handles GroupDAV and CalDAV PROPFIND requests. * * A few notes about our XML output: * @@ -10,7 +10,7 @@ * This makes it difficult to read, but we have discovered clients which * crash when you try to pretty it up. * - * Copyright (c) 2005-2011 by the citadel.org team + * Copyright (c) 2005-2012 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 version 3. @@ -19,15 +19,12 @@ * 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. - * */ #include "webcit.h" #include "webserver.h" #include "dav.h" -extern int DisableGzip; - /* * Given an encoded UID, translate that to an unencoded Citadel EUID and * then search for it in the current room. Return a message number or -1 diff --git a/webcit/tcp_sockets.c b/webcit/tcp_sockets.c index 7db07943d..735899dbe 100644 --- a/webcit/tcp_sockets.c +++ b/webcit/tcp_sockets.c @@ -25,7 +25,6 @@ #include "webcit.h" #include "webserver.h" -extern int DisableGzip; long MaxRead = -1; /* should we do READ scattered or all at once? */ /* diff --git a/webcit/webcit.h b/webcit/webcit.h index e80489f22..5f6cd89b5 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -799,6 +799,7 @@ void http_datestring(char *buf, size_t n, time_t xtime); #define WC_TIMEFORMAT_24 2 extern int time_to_die; /* Nonzero if server is shutting down */ +extern int DisableGzip; /* * Array type for a blog post. The first message is the post; the rest are comments -- 2.30.2