diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-02-25 15:22:31 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-02-25 15:22:31 +0100 |
commit | 59cc0c09d5413d1264758bef505856f5f56131e4 (patch) | |
tree | 2a40aaa183203b59162cbb8c4dfbfd50ed0a0e34 /source3/rpc_client/cli_spoolss.c | |
parent | 838b950138255beb7135a32d4429a74fec2bfe42 (diff) | |
parent | b6457c78d61992f12903ed0966d9d1608de68da8 (diff) | |
download | samba-59cc0c09d5413d1264758bef505856f5f56131e4.tar.gz samba-59cc0c09d5413d1264758bef505856f5f56131e4.tar.bz2 samba-59cc0c09d5413d1264758bef505856f5f56131e4.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source3/rpc_client/cli_spoolss.c')
-rw-r--r-- | source3/rpc_client/cli_spoolss.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c index c9d23efdf2..4c1d57e063 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/rpc_client/cli_spoolss.c @@ -362,38 +362,6 @@ static bool decode_printer_info_3(TALLOC_CTX *mem_ctx, RPC_BUFFER *buffer, /********************************************************************** **********************************************************************/ -static bool decode_printer_info_7(TALLOC_CTX *mem_ctx, RPC_BUFFER *buffer, - uint32 returned, PRINTER_INFO_7 **info) -{ - uint32 i; - PRINTER_INFO_7 *inf; - - if (returned) { - inf=TALLOC_ARRAY(mem_ctx, PRINTER_INFO_7, returned); - if (!inf) { - return False; - } - memset(inf, 0, returned*sizeof(PRINTER_INFO_7)); - } else { - inf = NULL; - } - - prs_set_offset(&buffer->prs,0); - - for (i=0; i<returned; i++) { - if (!smb_io_printer_info_7("", buffer, &inf[i], 0)) { - return False; - } - } - - *info=inf; - return True; -} - - -/********************************************************************** -**********************************************************************/ - static bool decode_port_info_1(TALLOC_CTX *mem_ctx, RPC_BUFFER *buffer, uint32 returned, PORT_INFO_1 **info) { |