]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/dnsqueue.cpp
Forward port of CullList and my bragging rights
[user/henk/code/inspircd.git] / src / dnsqueue.cpp
index fee15febd56749c153081dc338a4215c224e8ba7..975884796f7dd24f9963c58dfb98cc77b9257077 100644 (file)
@@ -111,8 +111,8 @@ public:
                                                {
                                                        if ((std::string((char*)inet_ntoa(usr->ip4)) == ip) && (hostname.length() < 65))
                                                        {
-                                                               strlcpy(usr->host,hostname.c_str(),MAXBUF);
-                                                               strlcpy(usr->dhost,hostname.c_str(),MAXBUF);
+                                                               strlcpy(usr->host,hostname.c_str(),64);
+                                                               strlcpy(usr->dhost,hostname.c_str(),64);
                                                                /*address_cache::iterator address = addrcache.find(usr->ip4);
                                                                if (address == addrcache.end())
                                                                {