1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

lib: Make pfh_daemon_config take a const default config

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2020-12-26 09:59:04 +01:00 committed by Jeremy Allison
parent de9b7312f1
commit e7a6dba21c
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
void pfh_daemon_config(const char *daemon_name,
struct pf_daemon_config *cfg,
struct pf_daemon_config *default_cfg)
const struct pf_daemon_config *default_cfg)
{
int min, max, rate, allow, life;

View File

@ -39,7 +39,7 @@ struct pf_daemon_config {
void pfh_daemon_config(const char *daemon_name,
struct pf_daemon_config *cfg,
struct pf_daemon_config *default_cfg);
const struct pf_daemon_config *default_cfg);
void pfh_manage_pool(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx,