From 7fe851e0118f21a5e99c6084be127c6fadd2b7ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 15 Jun 2004 13:13:22 +0000 Subject: [PATCH] (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 --- kdc/connect.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kdc/connect.c b/kdc/connect.c index 8faea4df6..593840660 100644 --- a/kdc/connect.c +++ b/kdc/connect.c @@ -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 "