Cast sockaddr_in * to sockaddr * in call to bind
authorEzra Peisach <epeisach@mit.edu>
Wed, 24 May 1995 11:25:29 +0000 (11:25 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 24 May 1995 11:25:29 +0000 (11:25 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5859 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin.old/server/ChangeLog
src/kadmin.old/server/adm_network.c

index 36f68bd05788600fb1a9741dddc0d7928c6c1833..a9656d71ac58184dcd57dc379d0669e70eaed8fd 100644 (file)
@@ -1,3 +1,7 @@
+Wed May 24 07:22:10 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * adm_network.c (setup_network): Cast sockaddr_in * to sockaddr *
+               in call to bind.
 
 Mon May 22 09:57:08 EDT 1995   Paul Park       (pjpark@mit.edu)
        * Makefile.in   - Install kadmind as kadmind_old.  Manpage too.
index 75e5aad8ff2c12d6c6b0d4b959b1f7c69beaa517..3ce8ac13eb52295f13e627e14a1459ea875a688f 100644 (file)
@@ -266,7 +266,7 @@ setup_network(context, prog)
      }
 
     if (bind(client_server_info.server_socket,
-               &client_server_info.server_name, 
+               (struct sockaddr *) &client_server_info.server_name, 
                sizeof(client_server_info.server_name)) < 0) {
        retval = errno;
         krb5_free_principal(context, client_server_info.server);