#ifndef lint
static char *rcsid_ticket_c = "$Header$";
-#endif lint
+#endif
#include <mit-copyright.h>
#include <stdio.h>
#include <com_err.h>
#include <krb_et.h>
+extern char *whoami;
+
/* too bad we can't set the pathname easily */
static char *srvtab = KEYFILE; /* default == /etc/srvtab */
static char realm[REALM_SZ];
pass = 1;
init();
- strcpy(phost, krb_get_phost(host));
+ strcpy(phost, (char*)krb_get_phost(host));
try_it:
code = krb_mk_req(ticket, service, phost, realm, (long)0);
if (code) {