(handle_tcp): note who is what that closed the connection on us

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13933 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-06-15 13:13:22 +00:00
parent 688642aa4c
commit 7fe851e011

View File

@@ -718,7 +718,9 @@ handle_tcp(struct descr *d, int index, int min_free)
n = recvfrom(d[index].s, buf, sizeof(buf), 0, NULL, NULL);
if(n < 0){
krb5_warn(context, errno, "recvfrom");
krb5_warn(context, errno, "recvfrom failed from %s to %s/%d",
d[index].addr_string, descr_type(d + index),
ntohs(d[index].port));
return;
} else if (n == 0) {
krb5_warnx(context, "connection closed before end of data after %lu "