[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Fri Nov 25 02:22:02 MST 2011


The branch, master has been updated
       via  2973532 s3: Add some const
      from  bfbfcd1 s3:torture: test smb2cli_logoff and smb2cli_tdis

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


- Log -----------------------------------------------------------------
commit 29735327f69d886051646a98f70df9b349b53308
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Nov 25 08:45:26 2011 +0100

    s3: Add some const
    
    Autobuild-User: Volker Lendecke <vlendec at samba.org>
    Autobuild-Date: Fri Nov 25 10:21:07 CET 2011 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/source3/include/proto.h b/source3/include/proto.h
index 0228120..2d61ef4 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1127,8 +1127,8 @@ WERROR map_werror_from_unix(int error);
 
 bool trustdom_cache_enable(void);
 bool trustdom_cache_shutdown(void);
-bool trustdom_cache_store(char* name, char* alt_name, const struct dom_sid *sid,
-                          time_t timeout);
+bool trustdom_cache_store(const char *name, const char *alt_name,
+			  const struct dom_sid *sid, time_t timeout);
 bool trustdom_cache_fetch(const char* name, struct dom_sid* sid);
 uint32 trustdom_cache_fetch_timestamp( void );
 bool trustdom_cache_store_timestamp( uint32 t, time_t timeout );
diff --git a/source3/libsmb/trustdom_cache.c b/source3/libsmb/trustdom_cache.c
index 95ea3da..8789d30 100644
--- a/source3/libsmb/trustdom_cache.c
+++ b/source3/libsmb/trustdom_cache.c
@@ -100,8 +100,8 @@ static char* trustdom_cache_key(const char* name)
  *         false if store attempt failed
  **/
  
-bool trustdom_cache_store(char* name, char* alt_name, const struct dom_sid *sid,
-                          time_t timeout)
+bool trustdom_cache_store(const char *name, const char *alt_name,
+			  const struct dom_sid *sid, time_t timeout)
 {
 	char *key, *alt_key;
 	fstring sid_string;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list