emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 064adf6: * lib-src/pop.c (socket_connection): Fix


From: Andreas Schwab
Subject: [Emacs-diffs] emacs-25 064adf6: * lib-src/pop.c (socket_connection): Fix format string.
Date: Sat, 27 Feb 2016 13:25:41 +0000

branch: emacs-25
commit 064adf6ff026699f660f331e4a27f1cf61f9ad72
Author: Andreas Schwab <address@hidden>
Commit: Andreas Schwab <address@hidden>

    * lib-src/pop.c (socket_connection): Fix format string.
---
 lib-src/pop.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib-src/pop.c b/lib-src/pop.c
index 57a5e52..812bd4c 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]