[PATCH] one const is enough

Volker Lendecke vl at samba.org
Fri Sep 9 14:36:23 UTC 2016


Hi!

Review appreciated!

Thanks, Volker
-------------- next part --------------
>From b38b2663b9963ecb8b2f1bdca953d327206e4441 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Fri, 9 Sep 2016 16:31:55 +0200
Subject: [PATCH] auth: One const is enough...

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 auth/auth_sam_reply.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/auth/auth_sam_reply.h b/auth/auth_sam_reply.h
index 617fae7..4aa3096 100644
--- a/auth/auth_sam_reply.h
+++ b/auth/auth_sam_reply.h
@@ -33,7 +33,7 @@
 /* The following definitions come from auth/auth_sam_reply.c  */
 
 NTSTATUS make_user_info_SamBaseInfo(TALLOC_CTX *mem_ctx,
-				    const const char *account_name,
+				    const char *account_name,
 				    const struct netr_SamBaseInfo *base,
 				    bool authenticated,
 				    struct auth_user_info **_user_info);
-- 
2.1.4



More information about the samba-technical mailing list