(_svcauth_des): Avoid using bcopy.
authordrepper <drepper>
Mon, 20 Aug 2001 06:37:09 +0000 (06:37 +0000)
committerdrepper <drepper>
Mon, 20 Aug 2001 06:37:09 +0000 (06:37 +0000)
sunrpc/svcauth_des.c

index 4530066..6a550af 100644 (file)
@@ -150,7 +150,7 @@ _svcauth_des (register struct svc_req *rqst, register struct rpc_msg *msg)
          return AUTH_BADCRED;
        }
       cred->adc_fullname.name = area->area_netname;
-      bcopy ((char *) ixdr, cred->adc_fullname.name, namelen);
+      memcpy (cred->adc_fullname.name, (char *) ixdr, namelen);
       cred->adc_fullname.name[namelen] = 0;
       ixdr += (RNDUP (namelen) / BYTES_PER_XDR_UNIT);
       cred->adc_fullname.key.key.high = *ixdr++;