Use SOCKET data type instead of ints for sockets in kadmin
Also use the new mini_inetd() API
This commit is contained in:

committed by
Love Hornquist Astrand

parent
14ae739820
commit
a1942c1bad
@@ -1091,16 +1091,16 @@ process_stream(krb5_context context,
|
||||
|
||||
|
||||
int
|
||||
handle_mit(krb5_context context, void *buf, size_t len, int fd)
|
||||
handle_mit(krb5_context context, void *buf, size_t len, SOCKET sock)
|
||||
{
|
||||
krb5_storage *sp;
|
||||
|
||||
dcontext = context;
|
||||
|
||||
sp = krb5_storage_from_fd(fd);
|
||||
sp = krb5_storage_from_fd(sock);
|
||||
INSIST(sp != NULL);
|
||||
|
||||
process_stream(context, buf, len, sp);
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user