From d53b685013dfe99d1ceac1d283f63ccfbc841dae Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 14 Jun 2008 17:51:36 +0200 Subject: [PATCH] email plugin: Fix a format string. --- src/email.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/email.c b/src/email.c index 9b82e10e..fbdc785f 100644 --- a/src/email.c +++ b/src/email.c @@ -292,8 +292,9 @@ static void *collect (void *arg) len = strlen (line); if (('\n' != line[len - 1]) && ('\r' != line[len - 1])) { - log_warn ("[thread #%5lu] line too long (> %lu characters): " - "'%s' (truncated)", self, sizeof (line) - 1, line); + log_warn ("[thread #%5lu] line too long (> %zu characters): " + "'%s' (truncated)", + (unsigned long) self, sizeof (line) - 1, line); while (NULL != fgets (line, sizeof (line), this->socket)) if (('\n' == line[len - 1]) || ('\r' == line[len - 1])) -- 2.30.2