From: Ezra Peisach Date: Wed, 24 May 1995 11:25:29 +0000 (+0000) Subject: Cast sockaddr_in * to sockaddr * in call to bind X-Git-Tag: krb5-1.0-beta6~1938 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e85c983e37f0c9bbb97424c9188a67e07e58330b;p=krb5.git Cast sockaddr_in * to sockaddr * in call to bind git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5859 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin.old/server/ChangeLog b/src/kadmin.old/server/ChangeLog index 36f68bd05..a9656d71a 100644 --- a/src/kadmin.old/server/ChangeLog +++ b/src/kadmin.old/server/ChangeLog @@ -1,3 +1,7 @@ +Wed May 24 07:22:10 1995 Ezra Peisach + + * 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. diff --git a/src/kadmin.old/server/adm_network.c b/src/kadmin.old/server/adm_network.c index 75e5aad8f..3ce8ac13e 100644 --- a/src/kadmin.old/server/adm_network.c +++ b/src/kadmin.old/server/adm_network.c @@ -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);