summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_spoolss.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c
index 9ee9fa9f14..69c3d108f0 100644
--- a/source3/rpc_client/cli_spoolss.c
+++ b/source3/rpc_client/cli_spoolss.c
@@ -522,7 +522,7 @@ BOOL spoolss_addprinterex(POLICY_HND *hnd, const char* srv_name, PRINTER_INFO_2
SPOOL_R_ADDPRINTEREX r_o;
struct cli_connection *con = NULL;
TALLOC_CTX *mem_ctx = NULL;
- fstring client_name;
+ fstring the_client_name;
BOOL valid_pol = True;
@@ -544,12 +544,12 @@ BOOL spoolss_addprinterex(POLICY_HND *hnd, const char* srv_name, PRINTER_INFO_2
/* create and send a MSRPC command with api SPOOLSS_ENUMPORTS */
DEBUG(5,("SPOOLSS Add Printer Ex (Server: %s)\n", srv_name));
- fstrcpy(client_name, "\\\\");
- fstrcat(client_name, con->pCli_state->desthost);
- strupper(client_name);
+ fstrcpy(the_client_name, "\\\\");
+ fstrcat(the_client_name, con->pCli_state->desthost);
+ strupper(the_client_name);
- make_spoolss_q_addprinterex(&q_o, srv_name, client_name,
+ make_spoolss_q_addprinterex(&q_o, srv_name, the_client_name,
/* "Administrator", */
con->pCli_state->user_name,
2, info2);