summaryrefslogtreecommitdiffstats
path: root/src/task.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-02-22 17:10:13 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-02-22 17:10:13 +0100
commit766433b8501e9218d7a6b0f4c66ffce788032118 (patch)
treedf52bca988f78a2cdf5a5750e0d1ce3f6f245242 /src/task.c
parent29894cc8d155188e057451cf58cc686a9ad0d1c6 (diff)
downloadfastd-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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/task.c b/src/task.c
index c6cc898..bd51806 100644
--- a/src/task.c
+++ b/src/task.c
@@ -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);
}