unexpected reason.
ticket: 2277
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16123
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-02-25 Ken Raeburn <raeburn@mit.edu>
+
+ * sendto_kdc.c (start_connection): Close socket if connect() call
+ fails for an unexpected reason.
+
2004-02-13 Ken Raeburn <raeburn@mit.edu>
* genaddrs.c: Don't specify defaults for
state->state = CONNECTING;
} else {
dprint("connect failed: %m\n", SOCKET_ERRNO);
+ (void) closesocket(fd);
state->err = SOCKET_ERRNO;
state->state = FAILED;
return -2;