(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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user