diff options
author | Simon Rettberg | 2019-09-04 19:49:11 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-09-04 19:49:11 +0200 |
commit | 778fb6d2d15d534869461560d80524d74446bb84 (patch) | |
tree | 89fab1938a7cf8f317f8621ceb0e12a8f4fd575d /src/server/altservers.h | |
parent | [SERVER] Fix indentation (diff) | |
download | dnbd3-778fb6d2d15d534869461560d80524d74446bb84.tar.gz dnbd3-778fb6d2d15d534869461560d80524d74446bb84.tar.xz dnbd3-778fb6d2d15d534869461560d80524d74446bb84.zip |
[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.
Diffstat (limited to 'src/server/altservers.h')
-rw-r--r-- | src/server/altservers.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |