treewide: give file descriptors safe initial value
authorDainis Jonitis <dainis.jonitis@ubnt.com>
Mon, 26 Nov 2018 12:45:53 +0000 (14:45 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 3 May 2019 12:51:21 +0000 (14:51 +0200)
commit6b951c55b61c95ad485edd68762416b6c7d8178e
tree22724b8895c9a112fcb6e3776750fdad0d502344
parent39e11ed2d9de55a2661c21176b74263988e932d3
treewide: give file descriptors safe initial value

Since main problem of assuming that fd==0 is invalid value
was fixed in upstream odhcpd by e7b1d4bf3a2297192638b9c84208b3dcb306ecd8
then what is left are minor problems of static initialization
of some global fd variables.

Signed-off-by: Dainis Jonitis <dainis.jonitis@ubnt.com>
src/config.c
src/odhcpd.c