[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Fri Aug 20 16:57:22 MDT 2010


The branch, master has been updated
       via  22a0168... Fix const warning.
      from  7e936e3... s4-ndr_basic.c: Fix ndr_*_hyper() when [bigendian] data is processed

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 22a0168504846d618f70bb79175950f37f341769
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Aug 20 15:56:37 2010 -0700

    Fix const warning.

-----------------------------------------------------------------------

Summary of changes:
 source3/auth/auth_util.c |    2 +-
 source3/include/proto.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 371087e..1ff9714 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -947,7 +947,7 @@ static NTSTATUS check_account(TALLOC_CTX *mem_ctx, const char *domain,
  the username if we fallback to the username only.
  ****************************************************************************/
 
-struct passwd *smb_getpwnam( TALLOC_CTX *mem_ctx, char *domuser,
+struct passwd *smb_getpwnam( TALLOC_CTX *mem_ctx, const char *domuser,
 			     fstring save_username, bool create )
 {
 	struct passwd *pw = NULL;
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 09c34ed..a389966 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -148,7 +148,7 @@ NTSTATUS make_server_info_guest(TALLOC_CTX *mem_ctx,
 NTSTATUS make_server_info_system(TALLOC_CTX *mem_ctx,
 				 struct auth_serversupplied_info **server_info);
 bool copy_current_user(struct current_user *dst, struct current_user *src);
-struct passwd *smb_getpwnam( TALLOC_CTX *mem_ctx, char *domuser,
+struct passwd *smb_getpwnam( TALLOC_CTX *mem_ctx, const char *domuser,
 			     fstring save_username, bool create );
 NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx, 
 				const char *sent_nt_username,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list