collectors[i]->socket = NULL;
if (plugin_thread_create (&collectors[i]->thread,
- &ptattr, collect, collectors[i]) != 0) {
+ &ptattr, collect, collectors[i],
+ "email collector") != 0) {
char errbuf[1024];
log_err ("plugin_thread_create() failed: %s",
sstrerror (errno, errbuf, sizeof (errbuf)));
static int email_init (void)
{
if (plugin_thread_create (&connector, NULL,
- open_connection, NULL) != 0) {
+ open_connection, NULL, "email listener") != 0) {
char errbuf[1024];
disabled = 1;
log_err ("plugin_thread_create() failed: %s",