]> jfr.im git - solanum.git/blobdiff - extensions/ip_cloaking_old.c
strlcat -> rb_strlcat
[solanum.git] / extensions / ip_cloaking_old.c
index 6c186b6aa9528069ccdbe510fb66ce9f3ca977ca..ea2c6bc2ff980a28d814b8f964c7798dd020dfc0 100644 (file)
@@ -102,7 +102,7 @@ do_host_cloak(const char *inbuf, char *outbuf, int ipmask)
                /* try to avoid truncation -- jilles */
                while (len1 + strlen(rest) >= HOSTLEN && (next = strchr(rest + 1, '.')) != NULL)
                        rest = next;
-               strlcat(outbuf, rest, HOSTLEN);
+               rb_strlcat(outbuf, rest, HOSTLEN);
        }
        else
                rb_snprintf(outbuf, HOSTLEN, "%X%X.%s",