* <mit-copyright.h>.
*/
-#ifndef lint
-static char rcsid_send_to_kdc_c[] =
-"$Id$";
-#endif /* lint */
+#include <afsconfig.h>
+RCSID
+ ("$Header$");
#if 0
#include <kerberosIV/mit-copyright.h>
#define MAX_HSTNM 100
#endif
-#ifdef WINDOWS
-
-#include "aklog.h" /* for struct afsconf_cell */
-
-#else /* !WINDOWS */
-
-#include <afs/param.h>
#include <afs/cellconfig.h>
-#endif /* WINDOWS */
-
#include <string.h>
+#include <ctype.h>
#define S_AD_SZ sizeof(struct sockaddr_in)
*p = toupper(*p);
}
} else {
- if (retval = krb5_get_host_realm(context,
- cellconfig->hostName[0], &hrealms))
+ if ((retval = krb5_get_host_realm(context,
+ cellconfig->hostName[0], &hrealms)))
return 0;
if(!hrealms[0]) return 0;
strcpy(krbrlm, hrealms[0]);