mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
Fix stupid compiler errors by my stupidity and tiredness
This commit is contained in:
parent
96b1c6b8bf
commit
180b684529
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ struct blacklist_user
|
|||
static void blacklists_destroy(void);
|
||||
|
||||
static bool blacklists_start(struct auth_client *);
|
||||
static inline void blacklists_generic_cancel(struct auth_client *);
|
||||
static inline void blacklists_generic_cancel(struct auth_client *, const char *);
|
||||
static void blacklists_timeout(struct auth_client *);
|
||||
static void blacklists_cancel(struct auth_client *);
|
||||
static void blacklists_cancel_none(struct auth_client *);
|
||||
|
@ -309,7 +309,7 @@ lookup_all_blacklists(struct auth_client *auth)
|
|||
int iptype;
|
||||
|
||||
if(GET_SS_FAMILY(&auth->c_addr) == AF_INET)
|
||||
iptype = IPTYPE_IPv4;
|
||||
iptype = IPTYPE_IPV4;
|
||||
#ifdef RB_IPV6
|
||||
else if(GET_SS_FAMILY(&auth->c_addr) == AF_INET6)
|
||||
iptype = IPTYPE_IPV6;
|
||||
|
|
Loading…
Reference in a new issue