1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

* lib-src/pop.c (socket_connection): Fix format string.

This commit is contained in:
Andreas Schwab 2016-02-27 14:19:06 +01:00
parent 14060a9c16
commit 064adf6ff0

View File

@ -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)