mis-typed the conversion to memcpy
authorJohn Kohl <jtkohl@mit.edu>
Thu, 8 Nov 1990 17:57:00 +0000 (17:57 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 8 Nov 1990 17:57:00 +0000 (17:57 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1448 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb425/mk_safe.c

index 59cda767989e814c8f57822939e7a164c77b58e0..77eeca79bd65c978ca2dbbd97e81b52215dbd514 100644 (file)
@@ -49,7 +49,7 @@ struct sockaddr_in *receiver;
        raddr.length = 4;
        raddr.contents = (krb5_octet *)ra;
 
-       memcpy(sa, (char *)&sender->sin_addr, sa, 4);
+       memcpy(sa, (char *)&sender->sin_addr, 4);
        memcpy(ra, (char *)&receiver->sin_addr, 4);
 
        sfaddr.address = &saddr;