* pop.c: Fix ERRMAX typo (Bug#13925).
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 12 Mar 2013 22:00:07 +0000 (15:00 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 12 Mar 2013 22:00:07 +0000 (15:00 -0700)
(socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]:
Use ERROR_MAX, not ERRMAX.

lib-src/ChangeLog
lib-src/pop.c

index 871f572..6859431 100644 (file)
@@ -1,3 +1,9 @@
+2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * pop.c: Fix ERRMAX typo (Bug#13925).
+       (socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]:
+       Use ERROR_MAX, not ERRMAX.
+
 2013-03-11  Glenn Morris  <rgm@gnu.org>
 
        * Version 24.3 released.
index ba384db..1f3f82b 100644 (file)
@@ -1198,7 +1198,7 @@ socket_connection (char *host, int flags)
            }
 #elif defined HAVE_KRB5_ERROR_E_TEXT
          if (err_ret && err_ret->e_text && **err_ret->e_text)
-           snprintf (pop_error + pop_error_len, ERRMAX - pop_error_len,
+           snprintf (pop_error + pop_error_len, ERROR_MAX - pop_error_len,
                      " [server says '%s']", *err_ret->e_text);
 #endif
          if (err_ret)