summaryrefslogtreecommitdiff
path: root/src/cmd_nick.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-20 17:16:08 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-20 17:16:08 +0000
commit1cfd1e693a92b8289f77e7fe87261774d19e8048 (patch)
tree2c6e8730b684f331eef0a60d17c04718a7ae5349 /src/cmd_nick.cpp
parentdcd533e8e6a81ef787939001a085932319db7785 (diff)
Someone please take a look at this and tell me why a thread doesnt free itself like it should when it exits, freeing the ram
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4462 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_nick.cpp')
-rw-r--r--src/cmd_nick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp
index bfaddda23..4db2a53bb 100644
--- a/src/cmd_nick.cpp
+++ b/src/cmd_nick.cpp
@@ -153,7 +153,7 @@ void cmd_nick::Handle (const char** parameters, int pcnt, userrec *user)
// initialize their dns lookup thread
if (pthread_create(&user->dnsthread, NULL, dns_task, (void *)user) != 0)
{
- log(DEBUG,"Failed to create DNS lookup thread for user %s",user->nick);
+ log(DEBUG,"Failed to create DNS lookup thread for user %s: %s",user->nick, strerror(errno));
}
#else
user->dns_done = (!lookup_dns(user->nick));