(krb5_sendto_kdc): no data returned means no contact?

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3541 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-09-23 01:02:13 +00:00
parent 6468ceaf27
commit 4c90a2d058

View File

@@ -220,7 +220,7 @@ krb5_sendto_kdc (krb5_context context,
ret = send_and_recv (fd, context->kdc_timeout, 1,
send, receive);
close (fd);
if(ret == 0)
if(ret == 0 && receive->length != 0)
goto out;
}
}