… | … | ||
---|---|---|---|
22 | #include "config.h" | 22 | #include "config.h" |
23 | 23 | ||
24 | #include <cstdio> | 24 | #include <cstdio> |
25 | #include <cstring> | 25 | #include <cstring> |
26 | #include <cstdlib> | 26 | #include <cstdlib> |
27 | #include <clocale> | 27 | #include <locale.h> |
28 | 28 | ||
29 | #include <errno.h> | 29 | #include <errno.h> |
30 | #include <fcntl.h> | 30 | #include <fcntl.h> |
31 | #include <getopt.h> | 31 | #include <getopt.h> |
32 | #include <signal.h> | 32 | #include <signal.h> |
… | … | ||
266 | 266 | ||
267 | setup_signals (); | 267 | setup_signals (); |
268 | 268 | ||
269 | if (!network.setup ()) | 269 | if (!network.setup ()) |
270 | { | 270 | { |
271 | iom.loop (); | 271 | io_manager::loop (); |
272 | cleanup_and_exit (EXIT_FAILURE); | 272 | cleanup_and_exit (EXIT_FAILURE); |
273 | } | 273 | } |
274 | 274 | ||
275 | slog (L_ERR, _("unable to setup network, unrecoverable error, exiting.")); | 275 | slog (L_ERR, _("unable to setup network, unrecoverable error, exiting.")); |
276 | cleanup_and_exit (EXIT_FAILURE); | 276 | cleanup_and_exit (EXIT_FAILURE); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |