CLEANUP: server: rename srv_cleanup_{idle,toremove}_connections()
These function names are unbearably long, they don't even fit into the
screen in "show profiling", let's trim the "_connections" to "_conns",
which happens to match the name of the lists there.
diff --git a/src/server.c b/src/server.c
index 0e7671e..5bbad82 100644
--- a/src/server.c
+++ b/src/server.c
@@ -4561,7 +4561,7 @@
*s->adm_st_chg_cause = 0;
}
-struct task *srv_cleanup_toremove_connections(struct task *task, void *context, unsigned short state)
+struct task *srv_cleanup_toremove_conns(struct task *task, void *context, unsigned short state)
{
struct connection *conn;
@@ -4629,7 +4629,7 @@
}
}
-struct task *srv_cleanup_idle_connections(struct task *task, void *context, unsigned short state)
+struct task *srv_cleanup_idle_conns(struct task *task, void *context, unsigned short state)
{
struct server *srv;
struct eb32_node *eb;