svn rev #22273: trunk/src/lib/krb5/os/
ghudson@MIT.EDU
ghudson at MIT.EDU
Thu Apr 23 10:50:07 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22273
Commit By: ghudson
Log Message:
Fix an error-handling block in sendto_kdc.c's setup_connection() which
would always attempt to close -1.
Changed Files:
U trunk/src/lib/krb5/os/sendto_kdc.c
Modified: trunk/src/lib/krb5/os/sendto_kdc.c
===================================================================
--- trunk/src/lib/krb5/os/sendto_kdc.c 2009-04-23 08:42:40 UTC (rev 22272)
+++ trunk/src/lib/krb5/os/sendto_kdc.c 2009-04-23 14:50:06 UTC (rev 22273)
@@ -640,8 +640,6 @@
*udpbufp = malloc(krb5_max_dgram_size);
if (*udpbufp == 0) {
dperror("malloc(krb5_max_dgram_size)");
- (void) closesocket(state->fd);
- state->fd = INVALID_SOCKET;
state->state = FAILED;
return 1;
}
More information about the cvs-krb5
mailing list