isayme / socks5

[Deprecated] socks5 proxy in c with the library libev.
MIT License
119 stars 43 forks source link

Initialize logger sooner #14

Closed 0jc closed 6 years ago

0jc commented 6 years ago

If daemon() fails, logger_error() is called before logger_init(), so I placed the call to logger_init() before the conditional.