summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-08-31 04:27:38 +0000
committerTim Potter <tpot@samba.org>2000-08-31 04:27:38 +0000
commitbd5e70ebfd734fb5f9f52fcfa569151143d576ab (patch)
treea532bd23a5c2af15191bdf7b6aca4d03f056e308 /source3
parentb26e3d2525c2ee09df426a9921c8c0337c1e071e (diff)
downloadsamba-bd5e70ebfd734fb5f9f52fcfa569151143d576ab.tar.gz
samba-bd5e70ebfd734fb5f9f52fcfa569151143d576ab.tar.bz2
samba-bd5e70ebfd734fb5f9f52fcfa569151143d576ab.zip
Removed compiler warning.
(This used to be commit 2d23607bb0fe3d93809b3a194f9976b01ece8768)
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);