From: wesommer Date: Sat, 22 Aug 1987 17:13:59 +0000 (+0000) Subject: Make admin_errmsg external rather than static. X-Git-Tag: BETA5-24-88~112 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/074685e3484133959724f9a418950b718c7ebb58 Make admin_errmsg external rather than static. Crock up KDC host. --- diff --git a/reg_svr/admin_call.c b/reg_svr/admin_call.c index 67d01d3f..bbb7a7b3 100644 --- a/reg_svr/admin_call.c +++ b/reg_svr/admin_call.c @@ -11,9 +11,13 @@ * Completely gutted and rewritten by Bill Sommerfeld, August 1987 * * $Log$ - * Revision 1.1 1987-08-07 13:50:37 wesommer - * Initial revision + * Revision 1.2 1987-08-22 17:13:59 wesommer + * Make admin_errmsg external rather than static. + * Crock up KDC host. * + * Revision 1.1 87/08/07 13:50:37 wesommer + * Initial revision + * */ #ifndef lint @@ -31,6 +35,7 @@ static char *rcsid_admin_call_c = "$Header$"; #include #include +#define KERB_HOST "icarus" #include "admin_err.h" #include "admin_server.h" #include "prot.h" @@ -51,7 +56,7 @@ static struct sockaddr_in my_addr; /* address bound to admin_fd. */ static int my_addr_len; /* size of above address. */ static char krbrlm[REALM_SZ]; /* Local kerberos realm */ -static char admin_errmsg[BUFSIZ]; /* Server error message */ +char admin_errmsg[BUFSIZ]; /* Server error message */ /* * Initialize socket, etc. to use to talk to admin_server.