0
0
Fork 0
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:
Elizabeth Myers 2016-06-27 19:14:32 -05:00
parent 96b1c6b8bf
commit 180b684529
No known key found for this signature in database
GPG key ID: 1A10EF78D83E317B

View file

@ -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;