diff options
author | Jeremy Allison <jra@samba.org> | 2007-12-04 16:35:24 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-12-04 16:35:24 -0800 |
commit | e262c41c6119957c5e4b8d5752040881021175a3 (patch) | |
tree | 1a1f5fdb46ead383ac8f2df76b80329ef8acac29 /source3 | |
parent | 3c219ce238d1d4cc0985be4473594deee61d4d6f (diff) | |
download | samba-e262c41c6119957c5e4b8d5752040881021175a3.tar.gz samba-e262c41c6119957c5e4b8d5752040881021175a3.tar.bz2 samba-e262c41c6119957c5e4b8d5752040881021175a3.zip |
More pstring elimination.
Jeremy.
(This used to be commit c1f70793d615df57dc7b766d67db3e9eedd0e25e)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_rpc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index e4b1872203..b41142a087 100644 --- a/source3/utils/net_rpc.c +++ b/source3/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"); |