summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2016-02-27 14:19:06 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2016-02-27 14:25:15 +0100
commit064adf6ff026699f660f331e4a27f1cf61f9ad72 (patch)
tree7246936af6c138b9266c2677818d30cba5311e44
parent14060a9c1679174b37bba7140c6b715d90502d70 (diff)
downloademacs-064adf6ff026699f660f331e4a27f1cf61f9ad72.tar.gz
* lib-src/pop.c (socket_connection): Fix format string.
-rw-r--r--lib-src/pop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/pop.c b/lib-src/pop.c
index 57a5e529daf..812bd4ca24c 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)