From 8b0392ca39aa8227766c12a11a245d50a015b894 Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Mon, 27 Jun 2016 19:14:32 -0500 Subject: [PATCH] Fix stupid compiler errors by my stupidity and tiredness --- authd/providers/blacklist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authd/providers/blacklist.c b/authd/providers/blacklist.c index 4b31c78d..c6de72a6 100644 --- a/authd/providers/blacklist.c +++ b/authd/providers/blacklist.c @@ -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;