summaryrefslogtreecommitdiff
path: root/source3/lib/server_prefork.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/server_prefork.h')
-rw-r--r--source3/lib/server_prefork.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/server_prefork.h b/source3/lib/server_prefork.h
index 334b5813a0..d240641a39 100644
--- a/source3/lib/server_prefork.h
+++ b/source3/lib/server_prefork.h
@@ -168,14 +168,14 @@ int prefork_add_children(struct tevent_context *ev_ctx,
int prefork_retire_children(struct prefork_pool *pfp,
int num_children, time_t age_limit);
/**
-* @brief Count the number of active children
+* @brief Count the number of children
*
* @param pfp The pool.
-* @param total Returns the number of children currently alive
+* @param active Number of children currently active if not NULL
*
-* @return The number of children actually serving clients
+* @return The total number of children.
*/
-int prefork_count_active_children(struct prefork_pool *pfp, int *total);
+int prefork_count_children(struct prefork_pool *pfp, int *active);
/**
* @brief Count the number of actual connections currently allowed