]> jfr.im git - solanum.git/blobdiff - src/s_auth.c
strip_tabs() is related to s_conf.c ONLY - moved it there
[solanum.git] / src / s_auth.c
index 21236b44343d323088d08120cc690447ab441fd4..bb67394e55ddfed9904bf55a7169f078e7fae15b 100644 (file)
@@ -40,7 +40,6 @@
 #include "client.h"
 #include "common.h"
 #include "irc_string.h"
-#include "sprintf_irc.h"
 #include "ircd.h"
 #include "numeric.h"
 #include "packet.h"
@@ -222,7 +221,7 @@ auth_dns_callback(void *vptr, struct DNSReply *reply)
 
                 if(good && strlen(reply->h_name) <= HOSTLEN)
                 {
-                        strlcpy(auth->client->host, reply->h_name, sizeof(auth->client->host));
+                        rb_strlcpy(auth->client->host, reply->h_name, sizeof(auth->client->host));
                         sendheader(auth->client, REPORT_FIN_DNS);
                 }
                 else if (strlen(reply->h_name) > HOSTLEN)