From: Florian Forster Date: Sat, 2 May 2009 08:29:14 +0000 (+0200) Subject: email plugin: Don't assume `pthread_t' is a `unsigned long'. X-Git-Tag: collectd-4.5.4~14 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=b597804afc25d374944100ab9726849b1401cc23 email plugin: Don't assume `pthread_t' is a `unsigned long'. --- diff --git a/src/email.c b/src/email.c index 5e103ed7..4d4a08fc 100644 --- a/src/email.c +++ b/src/email.c @@ -360,8 +360,8 @@ static void *collect (void *arg) } } /* while (loop) */ - log_debug ("[thread #%5lu] shutting down connection on fd #%i", - pthread_self (), fileno (this->socket)); + log_debug ("Shutting down connection on fd #%i", + fileno (this->socket)); fclose (connection->socket); free (connection);