summaryrefslogtreecommitdiffstats
path: root/src/server/altservers.h
diff options
context:
space:
mode:
authorSimon Rettberg2019-09-04 19:49:11 +0200
committerSimon Rettberg2019-09-04 19:49:11 +0200
commit778fb6d2d15d534869461560d80524d74446bb84 (patch)
tree89fab1938a7cf8f317f8621ceb0e12a8f4fd575d /src/server/altservers.h
parent[SERVER] Fix indentation (diff)
downloaddnbd3-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.h2
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);