summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-14 11:43:17 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-14 11:43:17 +0000
commitccb1837a1481ed3d9048f2e4d0d5d6309f14d17d (patch)
treea0e0dea848b3af6f81cb72f5ff64a21d43214b1b /include/users.h
parent45216ce4311f7dbe6ec7c8227152017449ea3336 (diff)
Fix dns socket leak found in stable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4383 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 30fa937fb..641c33f01 100644
--- a/include/users.h
+++ b/include/users.h
@@ -393,6 +393,8 @@ class userrec : public connection
/** Thread used for threaded lookups
*/
pthread_t dnsthread;
+#else
+ int dns_fd;
#endif
};