summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-09 20:18:57 +0100
committerVolker Lendecke <vl@samba.org>2009-02-09 20:18:57 +0100
commit07a8ad711b3ff0e922db9e6ba274594ef4c27b90 (patch)
treec952ace8acc2e942be06f90fdd2a1fa9f919cde3 /source3
parent4f29e8a75c7ea63601724be2fd63eb776f839fde (diff)
downloadsamba-07a8ad711b3ff0e922db9e6ba274594ef4c27b90.tar.gz
samba-07a8ad711b3ff0e922db9e6ba274594ef4c27b90.tar.bz2
samba-07a8ad711b3ff0e922db9e6ba274594ef4c27b90.zip
Attempt to fix the build
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc_printer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index e74524beb7..a40d5cadfd 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -738,23 +738,23 @@ static bool net_spoolss_open_printer_ex(struct rpc_pipe_client *pipe_hnd,
/* open printer */
result = rpccli_spoolss_open_printer_ex(pipe_hnd, mem_ctx, printername2,
"", access_required,
- pipe_hnd->csrv_name_slash, username, hnd);
+ pipe_hnd->srv_name_slash, username, hnd);
/* be more verbose */
if (W_ERROR_V(result) == W_ERROR_V(WERR_ACCESS_DENIED)) {
d_fprintf(stderr, "no access to printer [%s] on [%s] for user [%s] granted\n",
- printername2, pipe_hnd->csrv_name_slash, username);
+ printername2, pipe_hnd->srv_name_slash, username);
return false;
}
if (!W_ERROR_IS_OK(result)) {
d_fprintf(stderr, "cannot open printer %s on server %s: %s\n",
- printername2, pipe_hnd->csrv_name_slash, win_errstr(result));
+ printername2, pipe_hnd->srv_name_slash, win_errstr(result));
return false;
}
DEBUG(2,("got printer handle for printer: %s, server: %s\n",
- printername2, pipe_hnd->csrv_name_slash));
+ printername2, pipe_hnd->srv_name_slash));
return true;
}