1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r7607: Some minor fixes (typos, const)

Guenther
(This used to be commit 1150468186)
This commit is contained in:
Günther Deschner 2005-06-15 13:01:19 +00:00 committed by Gerald (Jerry) Carter
parent 3f657f41cc
commit 95ce7e65eb

View File

@ -296,7 +296,7 @@ static NTSTATUS
net_copy_fileattr(TALLOC_CTX *mem_ctx,
struct cli_state *cli_share_src,
struct cli_state *cli_share_dst,
char *src_name, char *dst_name,
const char *src_name, const char *dst_name,
BOOL copy_acls, BOOL copy_attrs,
BOOL copy_timestamps, BOOL is_file)
{
@ -449,7 +449,7 @@ out:
NTSTATUS net_copy_file(TALLOC_CTX *mem_ctx,
struct cli_state *cli_share_src,
struct cli_state *cli_share_dst,
char *src_name, char *dst_name,
const char *src_name, const char *dst_name,
BOOL copy_acls, BOOL copy_attrs,
BOOL copy_timestamps, BOOL is_file)
{
@ -1138,7 +1138,6 @@ get_printer_info(struct cli_state *cli, TALLOC_CTX *mem_ctx,
uint32 *num_printers, PRINTER_INFO_CTR *ctr)
{
char *sharename;
POLICY_HND hnd;
/* no arguments given, enumerate all printers */
@ -1154,9 +1153,7 @@ get_printer_info(struct cli_state *cli, TALLOC_CTX *mem_ctx,
/* argument given, get a single printer by name */
sharename = SMB_STRDUP(argv[0]);
if (!net_spoolss_open_printer_ex(cli, mem_ctx, sharename,
if (!net_spoolss_open_printer_ex(cli, mem_ctx, argv[0],
MAXIMUM_ALLOWED_ACCESS, cli->user_name, &hnd))
return False;
@ -1255,7 +1252,7 @@ NTSTATUS rpc_printer_driver_list_internals(const DOM_SID *domain_sid, const char
for (i=0; archi_table[i].long_archi!=NULL; i++) {
int num_drivers;
uint32 num_drivers;
/* enum remote drivers */
if (!net_spoolss_enumprinterdrivers(cli, mem_ctx, level,
@ -1396,7 +1393,7 @@ NTSTATUS rpc_printer_publish_update_internals(const DOM_SID *domain_sid, const c
}
/**
* List print-queues w.r.t. thei publishing
* List print-queues w.r.t. their publishing state
*
* All parameters are provided by the run_rpc_command function, except for
* argc, argv which are passed through.