Fixed bug on candidate selection. I misinterpreted count and n_connections variables. Thus, renamed count as current_connection_count to make it more understandable.

This commit is contained in:
Jan Lindström
2013-08-13 12:12:19 +03:00
parent c1c8bf9fc5
commit 2e11a26f41
2 changed files with 13 additions and 22 deletions

View File

@ -37,8 +37,8 @@
* that is required for each of the backend servers.
*/
typedef struct backend {
SERVER *server; /**< The server itself */
int count; /**< Number of connections to the server */
SERVER *server; /**< The server itself */
int current_connection_count; /**< Number of connections to the server */
} BACKEND;
/**