From c2ae5daf7ed36cff8ca87d710014eb6d466e84ef Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 16 May 2012 12:28:35 -0400 Subject: [PATCH] i guess you can remove the loaded var alltogether then. --- webcit/siteconfig.c | 1 - webcit/webcit.h | 1 - 2 files changed, 2 deletions(-) diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index 7a93d44af..8625ba89d 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -36,7 +36,6 @@ void LoadExpirePolicy(GPEXWhichPolicy which) serv_printf("GPEX %s", ExpirePolicyStrings[which][0].Key); Buf = NewStrBuf(); StrBuf_ServGetln(Buf); - WCC->Policy[which].loaded = 1; if (GetServerStatus(Buf, &State) == 2) { Pos = ChrPtr(Buf) + 4; WCC->Policy[which].expire_mode = StrBufExtractNext_long(Buf, &Pos, '|'); diff --git a/webcit/webcit.h b/webcit/webcit.h index fd64a229c..f4f113572 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -267,7 +267,6 @@ extern char *ssl_cipher_list; #define EXPIRE_AGE 3 /* Expire messages after n days */ typedef struct __ExpirePolicy { - int loaded; /* has this been loaded from the server? */ int expire_mode; int expire_value; } ExpirePolicy; -- 2.30.2