Use SOCKET data type instead of ints for sockets in kadmin

Also use the new mini_inetd() API
This commit is contained in:
Asanka Herath
2009-09-14 13:39:37 -04:00
committed by Love Hornquist Astrand
parent 14ae739820
commit a1942c1bad
4 changed files with 46 additions and 36 deletions

View File

@@ -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;
}