1
0
mirror of https://git.code.sf.net/p/minidlna/git synced 2025-06-23 12:22:50 +00:00
Files
minidlna/minidlna.c
Gleb Smirnoff 1d363c209f Use timevals everywhere where it is possible, including API between main
loop and event dispatchers. This simplifies code and eliminates a bug,
when kevent dispatcher is called with 0 timeout.

While here, in the main loop call gettimeofday() right after event
dispatcher returns. Otherwise, we are using outdated "timeofday" in
second part of the loop. I don't know any bugs because of that, but
they are possible.
2021-01-07 11:02:51 -08:00

35 KiB