* sendto_kdc.c (krb5int_sendto): Initialize select_state.end_time
authorKen Raeburn <raeburn@mit.edu>
Mon, 22 Mar 2004 05:01:43 +0000 (05:01 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 22 Mar 2004 05:01:43 +0000 (05:01 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16198 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/sendto_kdc.c

index 65ad4cd51d40af760d455ce08e1f73e106c5650d..c175ae0300e7b4e79348d643946050dba956bc8c 100644 (file)
@@ -1,3 +1,7 @@
+2004-03-22  Ken Raeburn  <raeburn@mit.edu>
+
+       * sendto_kdc.c (krb5int_sendto): Initialize select_state.end_time.
+
 2004-03-18  Ezra Peisach  <epeisach@mit.edu>
 
        * sendto_kdc.c (krb5_sendto_kdc): Change passing pointer to value of
index ad53250d06048761b99a776f43287f50bd75ac21..ba7b1c54a41a1bd41724db76928b39036c3c5f35 100644 (file)
@@ -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);