changeset 8217:423453c1cf2b

[gaim-migrate @ 8940] " Many years ago MIT kerberos changed the variable krb_err_base to ERROR_TABLE_BASE_krb (of consistency reasons I suppose). MIT still support krb_err_base as well, while kth-krb don't. This tiny patch makes gaim compile with kth-krb. It only affects *very* old MIT kerberos installations badly ()." -- M?rten Svantesson "It looks reasonable enough. ERROR_TABLE_BASE_krb existed as far back as 1988 :-)" --Arun A Tharuvai (the normal zepher patch provider) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 07 Feb 2004 17:40:57 +0000
parents dcace041cfb8
children 4beaf6b35483
files COPYRIGHT src/protocols/zephyr/ZMkAuth.c
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Fri Feb 06 22:01:05 2004 +0000
+++ b/COPYRIGHT	Sat Feb 07 17:40:57 2004 +0000
@@ -104,6 +104,7 @@
 Kevin Stange
 David Stoddard
 Sun Microsystems
+Mårten (fursten) Svantesson
 Brian Tarricone
 Peter Teichman
 Philip Tellis
--- a/src/protocols/zephyr/ZMkAuth.c	Fri Feb 06 22:01:05 2004 +0000
+++ b/src/protocols/zephyr/ZMkAuth.c	Sat Feb 07 17:40:57 2004 +0000
@@ -4,18 +4,18 @@
  *	Created by:	Robert French
  *
  *	$Source$
- *	$Author: warmenhoven $
+ *	$Author: lschiere $
  *
  *	Copyright (c) 1987 by the Massachusetts Institute of Technology.
  *	For copying and distribution information, see the file
  *	"mit-copyright.h". 
  */
-/* $Id: ZMkAuth.c 2096 2001-07-31 01:00:39Z warmenhoven $ */
+/* $Id: ZMkAuth.c 8940 2004-02-07 17:40:57Z lschiere $ */
 
 #include <internal.h>
 
 #ifndef lint
-static const char rcsid_ZMakeAuthentication_c[] = "$Id: ZMkAuth.c 2096 2001-07-31 01:00:39Z warmenhoven $";
+static const char rcsid_ZMakeAuthentication_c[] = "$Id: ZMkAuth.c 8940 2004-02-07 17:40:57Z lschiere $";
 #endif
 
 #ifdef ZEPHYR_USES_KERBEROS
@@ -52,7 +52,7 @@
 			    SERVER_INSTANCE, __Zephyr_realm, 0);
 	if (result != MK_AP_OK) {
 	    last_authent_time = 0;
-	    return (result+krb_err_base);
+	    return (result+ERROR_TABLE_BASE_krb);
         }
 	last_authent_time = now;
 	last_authent = authent;