]> andersk Git - moira.git/blobdiff - update/ticket.c
don't flame about being unable to delete filesystem if the `propagate
[moira.git] / update / ticket.c
index f07ed3267e707ea39fd6d7504a6833f0e82947e8..6e5f6d1d50cb0bcde880153b9121e59615f26727 100644 (file)
@@ -8,7 +8,7 @@
 
 #ifndef lint
 static char *rcsid_ticket_c = "$Header$";
-#endif lint
+#endif
 
 #include <mit-copyright.h>
 #include <stdio.h>
@@ -20,6 +20,8 @@ static char *rcsid_ticket_c = "$Header$";
 #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];
@@ -53,7 +55,7 @@ get_mr_update_ticket(host, ticket)
 
      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) {
This page took 0.06249 seconds and 4 git commands to generate.