diff --git a/src/email.c b/src/email.c
index ff9d439423124f9f4cba93e6d0cb606c551bd879..8fc5509f3e7e5ece33a15015b0ffa40fde6d6ede 100644 (file)
--- a/src/email.c
+++ b/src/email.c
}
} /* 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);
pthread_exit ((void *)0);
} /* static void *collect (void *) */
-static void *open_connection (void *arg)
+static void *open_connection (void __attribute__((unused)) *arg)
{
struct sockaddr_un addr;