From 064adf6ff026699f660f331e4a27f1cf61f9ad72 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 27 Feb 2016 14:19:06 +0100 Subject: [PATCH] * lib-src/pop.c (socket_connection): Fix format string. --- lib-src/pop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/pop.c b/lib-src/pop.c index 57a5e529da..812bd4ca24 100644 --- a/lib-src/pop.c +++ b/lib-src/pop.c @@ -1184,7 +1184,7 @@ socket_connection (char *host, int flags) { int errlen = err_ret->text.length; snprintf (pop_error + pop_error_len, ERROR_MAX - pop_error_len, - " [server says '.*%s']", errlen, err_ret->text.data); + " [server says '%.*s']", errlen, err_ret->text.data); } #elif defined HAVE_KRB5_ERROR_E_TEXT if (err_ret && err_ret->e_text && **err_ret->e_text) -- 2.39.2