diff options
Diffstat (limited to 'source/rpc_client/cli_spoolss.c')
-rw-r--r-- | source/rpc_client/cli_spoolss.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/rpc_client/cli_spoolss.c b/source/rpc_client/cli_spoolss.c index 3517fbbc9c8..fa15cd050e4 100644 --- a/source/rpc_client/cli_spoolss.c +++ b/source/rpc_client/cli_spoolss.c @@ -358,13 +358,10 @@ uint32 spoolss_getprinter(const POLICY_HND *hnd, uint32 level, r_o.buffer=buffer; if(!spoolss_io_r_getprinter("", &r_o, &rbuf, 0)) - { if (r_o.status != NT_STATUS_NO_PROBLEMO) - { DEBUG(3,("SPOOLSS_GETPRINTER: %s\n", get_nt_error_msg(r_o.status))); - } - *needed=r_o.needed; - } + + *needed=r_o.needed; } prs_mem_free(&rbuf); |