eloop: Clear timeout data during allocation
authorJouni Malinen <j@w1.fi>
Sun, 10 Jan 2010 19:48:27 +0000 (21:48 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 10 Jan 2010 19:48:27 +0000 (21:48 +0200)
commit2e320d8db59b8a37e3d68955ceb001a7c8efd763
tree97265d4ee8cf5d5b9d2aed676864e47850620cca
parent6f9b5d169638ea9f3ced5aecd6e85a36a0a0de23
eloop: Clear timeout data during allocation

Better make sure the eloop_timeout data gets fully initialized. The
current code is filling in all the fields, but it is clearer to just
zero the buffer to make sure any new field added to the structure gets
initialized.
src/utils/eloop.c