From d5feea59255ac45328de6ec8e9478fc1b12b4145 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 8 Oct 2007 10:45:05 +0000 Subject: changed the threading to include one extra thread that runs the mainloop. This was done to work around a problem with malloc/free. Note that we are still running on two threads - the startup thread just waits for the new one to finish. For a description of the problem I try to work-around, please see: http://rgerhards.blogspot.com/2007/10/could-i-really-reproduce-bug.html Note that this is an experimental change, which will only stay if it proves to fix the segfault issue we are dealing with. --- net.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'net.c') diff --git a/net.c b/net.c index b6539846..bf20b9eb 100644 --- a/net.c +++ b/net.c @@ -190,7 +190,6 @@ rsRetVal gethname(struct sockaddr_storage *f, uchar *pszHostFQDN) } finalize_it: -dbgprintf("hname() iRet: %d\n", iRet); return iRet; } @@ -281,7 +280,6 @@ rsRetVal cvthname(struct sockaddr_storage *f, uchar *pszHost, uchar *pszHostFQDN } finalize_it: -dbgprintf("cvthname() iRet: %d\n", iRet); return iRet; } -- cgit v1.2.3