From ff21539a6f1462d715335d51adcf6e8be94f1b71 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 6 Sep 2015 12:45:46 +0200 Subject: [PATCH] Renamee clients_count to clients_get_count --- src/client.c | 2 +- src/client.h | 2 +- src/http_command.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client.c b/src/client.c index 267527c..fe5bef3 100644 --- a/src/client.c +++ b/src/client.c @@ -90,7 +90,7 @@ static int client_use(int delta) return clients; } -int clients_count(void) +int clients_get_count(void) { return client_use(0); } diff --git a/src/client.h b/src/client.h index 058c2f3..182b72f 100644 --- a/src/client.h +++ b/src/client.h @@ -40,7 +40,7 @@ enum client_state Client_Disconnected }; -int clients_count(void); +int clients_get_count(void); int client_show_raw_begin(struct client *cl, int position, const char *syntax, const char *esn, void *data, diff --git a/src/http_command.c b/src/http_command.c index de4ae13..1e3ede6 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -1482,7 +1482,7 @@ static void cmd_info(struct http_channel *c) } #endif wrbuf_printf(c->wrbuf, " %d\n", sessions_get_count()); - wrbuf_printf(c->wrbuf, " %d\n", clients_count()); + wrbuf_printf(c->wrbuf, " %d\n", clients_get_count()); print_meminfo(c->wrbuf); info_services(c->server, c->wrbuf); -- 1.7.10.4