diff options
author | Tim Potter <tpot@samba.org> | 2002-04-09 05:59:46 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-04-09 05:59:46 +0000 |
commit | bcb842be57a0fe69f6c7374bae741c9e26ba1b45 (patch) | |
tree | 7264863128f27804af4afee3e92cb025f8201e0e /source3/rpc_server | |
parent | 416165a52c432d722a12b99e0cf1fb3cbb521f86 (diff) | |
download | samba-bcb842be57a0fe69f6c7374bae741c9e26ba1b45.tar.gz samba-bcb842be57a0fe69f6c7374bae741c9e26ba1b45.tar.bz2 samba-bcb842be57a0fe69f6c7374bae741c9e26ba1b45.zip |
Fixed some compiler warnings.
(This used to be commit be6f955107429f1431c49c8b45fd623406a9d641)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index d1b92cf646..2e96622118 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -568,7 +568,7 @@ static BOOL is_client_monitoring_event(Printer_entry *p, uint32 flags) --jerry **************************************************************************/ -static NTSTATUS srv_spoolss_routerreplyprinter (struct cli_state *cli, TALLOC_CTX *mem_ctx, +static NTSTATUS srv_spoolss_routerreplyprinter (struct cli_state *reply_cli, TALLOC_CTX *mem_ctx, POLICY_HND *pol, PRINTER_MESSAGE_INFO *info, NT_PRINTER_INFO_LEVEL *printer) { @@ -578,7 +578,7 @@ static NTSTATUS srv_spoolss_routerreplyprinter (struct cli_state *cli, TALLOC_CT if (info->flags & PRINTER_MESSAGE_DRIVER) condition = PRINTER_CHANGE_SET_PRINTER_DRIVER; - result = cli_spoolss_routerreplyprinter(cli, mem_ctx, pol, condition, + result = cli_spoolss_routerreplyprinter(reply_cli, mem_ctx, pol, condition, printer->info_2->changeid); return result; @@ -590,7 +590,7 @@ static NTSTATUS srv_spoolss_routerreplyprinter (struct cli_state *cli, TALLOC_CT **********************************************************************/ static NTSTATUS srv_spoolss_send_event_to_client(Printer_entry* Printer, - struct cli_state *cli, PRINTER_MESSAGE_INFO *msg, + struct cli_state *send_cli, PRINTER_MESSAGE_INFO *msg, NT_PRINTER_INFO_LEVEL *info) { NTSTATUS result; @@ -599,12 +599,12 @@ static NTSTATUS srv_spoolss_send_event_to_client(Printer_entry* Printer, /* This is a single call that can send information about multiple changes */ if (Printer->printer_type == PRINTER_HANDLE_IS_PRINTSERVER) msg->flags |= PRINTER_MESSAGE_ATTRIBUTES; - result = cli_spoolss_reply_rrpcn(cli, cli->mem_ctx, &Printer->notify.client_hnd, + result = cli_spoolss_reply_rrpcn(send_cli, send_cli->mem_ctx, &Printer->notify.client_hnd, msg, info); } else { /* This requires that the server send an individual event notification for each change */ - result = srv_spoolss_routerreplyprinter(cli, cli->mem_ctx, &Printer->notify.client_hnd, + result = srv_spoolss_routerreplyprinter(send_cli, send_cli->mem_ctx, &Printer->notify.client_hnd, msg, info); } |