From e85c983e37f0c9bbb97424c9188a67e07e58330b Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 24 May 1995 11:25:29 +0000 Subject: [PATCH] Cast sockaddr_in * to sockaddr * in call to bind git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5859 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin.old/server/ChangeLog | 4 ++++ src/kadmin.old/server/adm_network.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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); -- 2.26.2