aboutsummaryrefslogtreecommitdiff
blob: 112907f507a5d3caed6a6356dc4c6ee25ac68f71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Avoid using an undefined name with the Heimdal Kerberos implementation.
Patch by Martin von Gagern.
https://bugs.gentoo.org/461370
http://debbugs.gnu.org/13925

--- emacs-24.3-orig/lib-src/pop.c
+++ emacs-24.3/lib-src/pop.c
@@ -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)