[1267] in Kerberos-V5-bugs
krb5b4pl3: kadmin/kpasswd/kpasswd.c: minor type fix
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Fri Mar 24 12:26:00 1995
From: "Jonathan I. Kamens" <jik@cam.ov.com>
Date: Fri, 24 Mar 1995 12:28:47 -0500
To: krb5-bugs@MIT.EDU
--- kpasswd.c 1995/03/24 17:28:27 1.1
+++ kpasswd.c 1995/03/24 17:28:35
@@ -869,7 +869,8 @@
return(1);
}
/* connect to the server */
- if (connect(*local_socket, &remote_sin, sizeof(remote_sin)) < 0) {
+ if (connect(*local_socket, (struct sockaddr *) &remote_sin,
+ sizeof(remote_sin)) < 0) {
fprintf(stderr, "Cannot Connect to Socket\n");
close(*local_socket);
return(1);