]> jfr.im git - solanum.git/blobdiff - extensions/ip_cloaking_3.0.c
Merge pull request #140 from viatsko/remove-snprintf
[solanum.git] / extensions / ip_cloaking_3.0.c
index 627bd366c1badf8bd1527ae6f4e93f35cd164d42..e378a72faf56e299a1d70a4cb3e1a7b58490fbcf 100644 (file)
@@ -124,11 +124,11 @@ do_host_cloak_ip(const char *inbuf, char *outbuf)
 
        if(ipv6)
        {
-           rb_snprintf(outbuf, HOSTLEN, "%s:%x", buf, accum);
+           snprintf(outbuf, HOSTLEN, "%s:%x", buf, accum);
        }
        else
        {
-           rb_snprintf(outbuf, HOSTLEN, "%s.%x", buf, accum);
+           snprintf(outbuf, HOSTLEN, "%s.%x", buf, accum);
        }
 }