summaryrefslogtreecommitdiffstats
path: root/net.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-10-08 10:45:05 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-10-08 10:45:05 +0000
commitd5feea59255ac45328de6ec8e9478fc1b12b4145 (patch)
tree7297d9cfca9a06e9c4699fb6e55886ea33b31d64 /net.c
parent3855edc9281f798f29f5f445dbdd08b147988170 (diff)
downloadrsyslog-d5feea59255ac45328de6ec8e9478fc1b12b4145.tar.gz
rsyslog-d5feea59255ac45328de6ec8e9478fc1b12b4145.tar.xz
rsyslog-d5feea59255ac45328de6ec8e9478fc1b12b4145.zip
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.
Diffstat (limited to 'net.c')
-rw-r--r--net.c2
1 files changed, 0 insertions, 2 deletions
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;
}