email plugin: Don't assume `pthread_t' is a `unsigned long'.
[collectd.git] / src / email.c
index 5e103ed..4d4a08f 100644 (file)
@@ -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);