summaryrefslogtreecommitdiffstats
path: root/src/lib/krb4
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2007-07-27 04:39:21 +0000
committerKen Raeburn <raeburn@mit.edu>2007-07-27 04:39:21 +0000
commit76fdc16a95093e399c43e8597275a5cc95ff4925 (patch)
treed6234c9d4ea2a7fe0acf2e3b4bc384176e0ac517 /src/lib/krb4
parent7cedd31c584a59626a749ea609a23c237a82b3ea (diff)
downloadkrb5-76fdc16a95093e399c43e8597275a5cc95ff4925.tar.gz
krb5-76fdc16a95093e399c43e8597275a5cc95ff4925.tar.xz
krb5-76fdc16a95093e399c43e8597275a5cc95ff4925.zip
Debugged version of patch worked up with Luke
Adds a callback to krb5int_sendto to examine the response and indicate whether to quit the loop or not. For sendto_kdc, keep going if the returned error is "service unavailable". Updated all other callers to pass a null function pointer, which means to always break out of the loop on any response (the old behavior). ticket: 3334 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19738 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb4')
-rw-r--r--src/lib/krb4/send_to_kdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb4/send_to_kdc.c b/src/lib/krb4/send_to_kdc.c
index a33ad2b037..95d9d91136 100644
--- a/src/lib/krb4/send_to_kdc.c
+++ b/src/lib/krb4/send_to_kdc.c
@@ -181,7 +181,7 @@ krb4int_send_to_kdc_addr(
message.length = pkt->length;
message.data = (char *)pkt->dat; /* XXX yuck */
retval = internals.sendto_udp(NULL, &message, &al, NULL, &reply, addr,
- addrlen, NULL, 0, NULL);
+ addrlen, NULL, 0, NULL, NULL, NULL);
DEB(("sendto_udp returns %d\n", retval));
free_al:
internals.free_addrlist(&al);