]> andersk Git - moira.git/commitdiff
strings.h -> string.h, the former doesn't exists on the sun now.
authorjweiss <jweiss>
Fri, 16 Sep 1994 22:09:04 +0000 (22:09 +0000)
committerjweiss <jweiss>
Fri, 16 Sep 1994 22:09:04 +0000 (22:09 +0000)
bcopy -> memcpy; POSIX, etc

update/ticket.c

index 44ae087812f0856744d070d4b1ee004afe1445f5..f07ed3267e707ea39fd6d7504a6833f0e82947e8 100644 (file)
@@ -15,7 +15,7 @@ static char *rcsid_ticket_c = "$Header$";
 #include <krb.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <strings.h>
+#include <string.h>
 #include <update.h>
 #include <com_err.h>
 #include <krb_et.h>
@@ -69,7 +69,7 @@ get_mr_update_ticket(host, ticket)
         com_err(whoami, code, "in krb_mk_req");
      } else {
         code = krb_get_cred(service, phost, realm, &cr);
-        bcopy(cr.session, session, sizeof(session));
+        memcpy(session, cr.session, sizeof(session));
      }
      return(code);
 }
This page took 0.068151 seconds and 5 git commands to generate.