From d9183ccc89d0b2d7b9e42d400138df186ea39364 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 27 Sep 2024 13:29:31 +0200 Subject: [PATCH] s3:winbindd: dcip_check_name() only takes pss as const input value The makes things easier to understand, because the callers pass in &domain->dcaddr, which could also used as output value. Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- source3/winbindd/winbindd_cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index b39fc6056ec..d8a7ef7ce63 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -1201,7 +1201,7 @@ out: static bool dcip_check_name(TALLOC_CTX *mem_ctx, const struct winbindd_domain *domain, - struct sockaddr_storage *pss, + const struct sockaddr_storage *pss, char **name, uint32_t request_flags) { struct samba_sockaddr sa = {0}; -- 2.47.3