[krbdev.mit.edu #6041] WIN32 SOCKET != int in gss and rpc libs

Ken Raeburn via RT rt-comment at krbdev.mit.edu
Fri Jul 25 18:04:38 EDT 2008


Tom caught a problem I overlooked: clnttcp_create is a public interface.  You updated the 
function definition to take SOCKET*, but the declaration still says int*.  Please update the header 
(and since it gets installed, you can only use SOCKET for Windows environments, it has to stay 
with int for UNIX).

You might also want to look into why compile-time warnings didn't catch this for you....



More information about the krb5-bugs mailing list