diff options
author | Jeremy Allison <jra@samba.org> | 2014-06-16 22:49:29 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-06-18 01:03:13 +0200 |
commit | c2411767adb5ce48a4619349075f6f8faae41aab (patch) | |
tree | 4434b95aa8f9fed70ec907eae5851f0aaaad7d8e /source3/auth/server_info.c | |
parent | 6c6357b6bdba3341b3eec5900c4b9ad952b8db81 (diff) | |
download | samba-c2411767adb5ce48a4619349075f6f8faae41aab.tar.gz samba-c2411767adb5ce48a4619349075f6f8faae41aab.tar.xz samba-c2411767adb5ce48a4619349075f6f8faae41aab.zip |
s3: auth: Add some const to the struct netr_SamInfo3 * arguments of copy_netr_SamInfo3() and make_server_info_info3()
Both functions only read from the struct netr_SamInfo3 * argument.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Reviewed-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/auth/server_info.c')
-rw-r--r-- | source3/auth/server_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c index df0be5418f..4ce57c1f4a 100644 --- a/source3/auth/server_info.c +++ b/source3/auth/server_info.c @@ -580,7 +580,7 @@ done: } } while(0) struct netr_SamInfo3 *copy_netr_SamInfo3(TALLOC_CTX *mem_ctx, - struct netr_SamInfo3 *orig) + const struct netr_SamInfo3 *orig) { struct netr_SamInfo3 *info3; unsigned int i; |