]> git.eshelyaron.com Git - emacs.git/commitdiff
* lib-src/pop.c (socket_connection): Fix format string.
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 27 Feb 2016 13:19:06 +0000 (14:19 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 27 Feb 2016 13:25:15 +0000 (14:25 +0100)
lib-src/pop.c

index 57a5e529dafd07c8c8c29f9e20b7ee54adaf7d32..812bd4ca24c738bd945470549f241dd03bc3f296 100644 (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)