From 778fb6d2d15d534869461560d80524d74446bb84 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 4 Sep 2019 19:49:11 +0200 Subject: [SERVER] Fix altservers_getListForClient() The score wasn't reset when adding clients to the list, resulting in exactly one server filling up the whole list. --- src/server/altservers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/altservers.h') diff --git a/src/server/altservers.h b/src/server/altservers.h index 8e2b964..1e1f119 100644 --- a/src/server/altservers.h +++ b/src/server/altservers.h @@ -9,7 +9,7 @@ void altservers_init(); int altservers_load(); -bool altservers_add(dnbd3_host_t *host, const char *comment, const int isPrivate, const int isClientOnly); +bool altservers_add(dnbd3_host_t *host, const char *comment, const int isPrivate, const int isClientOnly, int *index); void altservers_findUplinkAsync(dnbd3_uplink_t *uplink); -- cgit v1.2.3-55-g7522