[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-461-gc1f7079

Jeremy Allison jra at samba.org
Wed Dec 5 00:36:02 GMT 2007


The branch, v3-2-test has been updated
       via  c1f70793d615df57dc7b766d67db3e9eedd0e25e (commit)
      from  e3c02796f8cf49af388741d175c4011825670df0 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit c1f70793d615df57dc7b766d67db3e9eedd0e25e
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Dec 4 16:35:24 2007 -0800

    More pstring elimination.
    Jeremy.

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

Summary of changes:
 source/utils/net_rpc.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/utils/net_rpc.c b/source/utils/net_rpc.c
index e4b1872..b41142a 100644
--- a/source/utils/net_rpc.c
+++ b/source/utils/net_rpc.c
@@ -24,6 +24,7 @@
 #include "utils/net.h"
 
 static int net_mode_share;
+static bool sync_files(struct copy_clistate *cp_clistate, const char *mask);
 
 /**
  * @file net_rpc.c
@@ -3588,7 +3589,7 @@ static void copy_fn(const char *mnt, file_info *f, const char *mask, void *state
  *
  * @return 		Boolean result
  **/
-bool sync_files(struct copy_clistate *cp_clistate, pstring mask)
+static bool sync_files(struct copy_clistate *cp_clistate, const char *mask)
 {
 	struct cli_state *targetcli;
 	char *targetpath = NULL;
@@ -3680,7 +3681,7 @@ static NTSTATUS rpc_share_migrate_files_internals(const DOM_SID *domain_sid,
 	struct copy_clistate cp_clistate;
 	bool got_src_share = False;
 	bool got_dst_share = False;
-	pstring mask = "\\*";
+	const char *mask = "\\*";
 	char *dst = NULL;
 
 	dst = SMB_STRDUP(opt_destination?opt_destination:"127.0.0.1");


-- 
Samba Shared Repository


More information about the samba-cvs mailing list