]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_conf.c
Various inet* -> rb_inet_*
[irc/rqf/shadowircd.git] / src / s_conf.c
index 632d481dd4f71841c55c7d38f49ba35777101a9b..856a4e2cc6107a02ac166535ff291e1e4148303a 100644 (file)
@@ -258,7 +258,7 @@ check_client(struct Client *client_p, struct Client *source_p, const char *usern
                        /* why ipaddr, and not just source_p->sockhost? --fl */
 #if 0
                        static char ipaddr[HOSTIPLEN];
-                       inetntop_sock(&source_p->localClient->ip, ipaddr, sizeof(ipaddr));
+                       rb_inet_ntop_sock(&source_p->localClient->ip, ipaddr, sizeof(ipaddr));
 #endif
                        sendto_realops_snomask(SNO_UNAUTH, L_ALL,
                                        "Unauthorised client connection from "
@@ -314,7 +314,7 @@ verify_access(struct Client *client_p, const char *username)
        else
        {
                rb_strlcpy(non_ident, "~", sizeof(non_ident));
-               strlcat(non_ident, username, sizeof(non_ident));
+               rb_strlcat(non_ident, username, sizeof(non_ident));
                aconf = find_address_conf(client_p->host, client_p->sockhost,
                                        non_ident, client_p->username,
                                        (struct sockaddr *) &client_p->localClient->ip,