fail immediately [krb5-appl/120]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9217
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Oct 21 13:44:53 1996 Barry Jaspan <bjaspan@mit.edu>
+
+ * kcmd.c: don't retry (and waste 7 seconds) on ECONNREFUSED, just
+ fail immediately [krb5-appl/120]
+
Fri Oct 18 17:26:51 1996 Barry Jaspan <bjaspan@mit.edu>
* krsh.c, krlogin.c: don't print our own error message if kcmd
lport--;
continue;
}
- /*
- * don't wait very long for Kerberos kcmd.
- */
- if (errno == ECONNREFUSED && timo <= 4) {
- sleep(timo);
- timo *= 2;
- continue;
- }
+
#if !(defined(tek) || defined(ultrix) || defined(sun) || defined(SYSV))
if (hp->h_addr_list[1] != NULL) {
int oerrno = errno;