don't request server's address on local socket!
authorJohn Kohl <jtkohl@mit.edu>
Fri, 8 Mar 1991 16:43:51 +0000 (16:43 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 8 Mar 1991 16:43:51 +0000 (16:43 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1876 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/simple/client/sim_client.c

index 3baf2c254b579a388e855f2fce77a17d879cb84d..99141f7a6a35ddab593ba23849779638a642b369 100644 (file)
@@ -115,7 +115,6 @@ char *argv[];
     }
 
     memset((char *)&c_sock, 0, sizeof(c_sock));
-    memcpy((char *)&c_sock.sin_addr, host->h_addr, host->h_length);
     c_sock.sin_family = AF_INET;
 
     /* Bind it to set the address; kernel will fill in port # */