From: Ken Raeburn Date: Mon, 22 Mar 2004 05:01:43 +0000 (+0000) Subject: * sendto_kdc.c (krb5int_sendto): Initialize select_state.end_time X-Git-Tag: krb5-1.4-beta1~523 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=898f5b24bc0fd56d1f38f2a1640a7e46442f7757;p=krb5.git * sendto_kdc.c (krb5int_sendto): Initialize select_state.end_time git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16198 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 65ad4cd51..c175ae030 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,7 @@ +2004-03-22 Ken Raeburn + + * sendto_kdc.c (krb5int_sendto): Initialize select_state.end_time. + 2004-03-18 Ezra Peisach * sendto_kdc.c (krb5_sendto_kdc): Change passing pointer to value of diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c index ad53250d0..ba7b1c54a 100644 --- a/src/lib/krb5/os/sendto_kdc.c +++ b/src/lib/krb5/os/sendto_kdc.c @@ -1022,6 +1022,7 @@ krb5int_sendto (krb5_context context, const krb5_data *message, select_state.max = 0; select_state.nfds = 0; + select_state.end_time.tv_sec = select_state.end_time.tv_usec = 0; FD_ZERO(&select_state.rfds); FD_ZERO(&select_state.wfds); FD_ZERO(&select_state.xfds);