diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-22 17:10:13 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-22 17:10:13 +0100 |
commit | 766433b8501e9218d7a6b0f4c66ffce788032118 (patch) | |
tree | df52bca988f78a2cdf5a5750e0d1ce3f6f245242 /src/task.c | |
parent | 29894cc8d155188e057451cf58cc686a9ad0d1c6 (diff) | |
download | fastd-766433b8501e9218d7a6b0f4c66ffce788032118.tar fastd-766433b8501e9218d7a6b0f4c66ffce788032118.zip |
socket: improve and simplify error handling
Rather exit on errors we're unlikely to recover from than retrying
indefinitely.
Diffstat (limited to 'src/task.c')
-rw-r--r-- | src/task.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -35,9 +35,7 @@ /** Performs periodic maintenance tasks */ static inline void maintenance(void) { - fastd_socket_handle_binds(); fastd_peer_eth_addr_cleanup(); - fastd_task_reschedule_relative(&ctx.next_maintenance, MAINTENANCE_INTERVAL); } |