kadm5: use rk_closesocket to close sockets
commit6c4423cd46ae465393db97defcfabe187311b155
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 3 Feb 2014 20:40:32 +0000 (3 15:40 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 3 Feb 2014 20:40:32 +0000 (3 15:40 -0500)
tree79e7b0dcf55c2ceb68b1b9693d483e9e1962f99b
parentcc1faff15fd1eb7eed162e8209cfcf76f82f881b
kadm5: use rk_closesocket to close sockets

kadm5_c_destroy did not use rk_closesocket when cleaning up
the context.  This results in an exception on Windows since a
socket is not a file descriptor.

Change-Id: I9ebddad61f0199acb495a0773925df4f41e4fef2
lib/kadm5/destroy_c.c