i guess you can remove the loaded var alltogether then.
authorArt Cancro <ajc@uncensored.citadel.org>
Wed, 16 May 2012 16:28:35 +0000 (12:28 -0400)
committerArt Cancro <ajc@uncensored.citadel.org>
Wed, 16 May 2012 16:28:35 +0000 (12:28 -0400)
webcit/siteconfig.c
webcit/webcit.h

index 7a93d44af096e10b43b155c49a502584d88cc3bc..8625ba89d2db03b093df5bc200cab31b3a1e5cde 100644 (file)
@@ -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, '|');
index fd64a229cdffe670b6318e28d9ec22b0c8697184..f4f113572397fd6aa33676474025d08925fc26dc 100644 (file)
@@ -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;