summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_printer.c
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2005-06-15 14:24:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:16 -0500
commit7cbd740c62238406e64819e3594caeca341a25c9 (patch)
treeec18f0346ff0a19118ba0bcc155d0a1cc2eafe11 /source3/utils/net_rpc_printer.c
parent95ce7e65eb325d64f821e87f479b4898e577bc75 (diff)
downloadsamba-7cbd740c62238406e64819e3594caeca341a25c9.tar.gz
samba-7cbd740c62238406e64819e3594caeca341a25c9.tar.bz2
samba-7cbd740c62238406e64819e3594caeca341a25c9.zip
r7609: Move top level dir handling in from of the loop. This makes the code
much straither. copy_top_level_perms() is jra's work. I modified the copy_top_level_perms() function to use the copy_clistate. And I don't forget trunk. Lars (This used to be commit 2c68568e5232c057d4f76f4bb044c54d18272602)
Diffstat (limited to 'source3/utils/net_rpc_printer.c')
-rw-r--r--source3/utils/net_rpc_printer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index 840688be9a..f1f82a5cea 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -292,8 +292,7 @@ static void display_reg_value(const char *subkey, REGISTRY_VALUE value)
*
* @return Normal NTSTATUS return.
**/
-static NTSTATUS
-net_copy_fileattr(TALLOC_CTX *mem_ctx,
+NTSTATUS net_copy_fileattr(TALLOC_CTX *mem_ctx,
struct cli_state *cli_share_src,
struct cli_state *cli_share_dst,
const char *src_name, const char *dst_name,