From: Adam Dickmeiss Date: Sun, 6 Sep 2015 10:45:46 +0000 (+0200) Subject: Renamee clients_count to clients_get_count X-Git-Tag: v1.12.4~6 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=ff21539a6f1462d715335d51adcf6e8be94f1b71;p=pazpar2-moved-to-github.git Renamee clients_count to clients_get_count --- 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);