Remove the unused COMPRESSED flag and stats handler

- Null "compress" handler left as-is in newconf.c
This commit is contained in:
JailBird 2022-12-22 15:55:58 -06:00 committed by Doug Freed
parent f26681c735
commit 6f4dfd9c78
2 changed files with 0 additions and 4 deletions

View file

@ -207,7 +207,6 @@ struct server_conf
#define SERVER_ILLEGAL 0x0001 #define SERVER_ILLEGAL 0x0001
#define SERVER_ENCRYPTED 0x0004 #define SERVER_ENCRYPTED 0x0004
#define SERVER_COMPRESSED 0x0008
#define SERVER_TB 0x0010 #define SERVER_TB 0x0010
#define SERVER_AUTOCONN 0x0020 #define SERVER_AUTOCONN 0x0020
#define SERVER_SSL 0x0040 #define SERVER_SSL 0x0040
@ -216,7 +215,6 @@ struct server_conf
#define ServerConfIllegal(x) ((x)->flags & SERVER_ILLEGAL) #define ServerConfIllegal(x) ((x)->flags & SERVER_ILLEGAL)
#define ServerConfEncrypted(x) ((x)->flags & SERVER_ENCRYPTED) #define ServerConfEncrypted(x) ((x)->flags & SERVER_ENCRYPTED)
#define ServerConfCompressed(x) ((x)->flags & SERVER_COMPRESSED)
#define ServerConfTb(x) ((x)->flags & SERVER_TB) #define ServerConfTb(x) ((x)->flags & SERVER_TB)
#define ServerConfAutoconn(x) ((x)->flags & SERVER_AUTOCONN) #define ServerConfAutoconn(x) ((x)->flags & SERVER_AUTOCONN)
#define ServerConfSCTP(x) ((x)->flags & SERVER_SCTP) #define ServerConfSCTP(x) ((x)->flags & SERVER_SCTP)

View file

@ -353,8 +353,6 @@ stats_connect(struct Client *source_p)
*s++ = 'S'; *s++ = 'S';
if(ServerConfTb(server_p)) if(ServerConfTb(server_p))
*s++ = 'T'; *s++ = 'T';
if(ServerConfCompressed(server_p))
*s++ = 'Z';
} }
if(s == buf) if(s == buf)