]> git.ipfire.org Git - thirdparty/krb5.git/commit
Avoid redundant socket cleanup in sendto_kdc.c
authorGreg Hudson <ghudson@mit.edu>
Thu, 29 Nov 2012 01:19:37 +0000 (20:19 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 29 Nov 2012 06:59:17 +0000 (01:59 -0500)
commitd31794d43d04d592d079a08dc3cc4ce7164c0df0
treee139d9242cdd9a9214d1117ed28c922dbfde39e9
parent2b06a22f7fd8ec01fb27a7335125290b8ceb6f18
Avoid redundant socket cleanup in sendto_kdc.c

Since r25120, kill_conn() has been responsible for closing and
invalidating conn->fd.  In the unlikely event that the KDC sends a TCP
response to us before we send a TCP request, we were cleaning up the
socket again, which is useless (though also harmless).  Get rid of
that code.
src/lib/krb5/os/sendto_kdc.c