]> jfr.im git - solanum.git/commitdiff
Fix stupid compiler errors by my stupidity and tiredness
authorElizabeth Myers <redacted>
Tue, 28 Jun 2016 00:14:32 +0000 (19:14 -0500)
committerElizabeth Myers <redacted>
Tue, 28 Jun 2016 00:37:02 +0000 (19:37 -0500)
authd/providers/blacklist.c

index 4b31c78d4b617a0780306010b3bbf1c209ca52ae..c6de72a6c48209fe999a2b6e8f285da28fefdd31 100644 (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;