diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-06-24 09:15:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:01 -0500 |
commit | 7984ec9edbdd28797b33cd8a94a2836a02ff1575 (patch) | |
tree | 9576795933b118ea82a77e5e90a85c9a2d8a37e0 /source3 | |
parent | 2b76b28932d9d1ed714e79579414f630966342e7 (diff) | |
download | samba-7984ec9edbdd28797b33cd8a94a2836a02ff1575.tar.gz samba-7984ec9edbdd28797b33cd8a94a2836a02ff1575.tar.bz2 samba-7984ec9edbdd28797b33cd8a94a2836a02ff1575.zip |
r1237: Correctly honor infolevel argument. Thanks to Guenther Deschner <gd@sernet.de>.
Volker
(This used to be commit fece76cfc2f268d2855944d8a71d0aca3f99e0fb)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index d33d1cc90e..0d6740257d 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -314,7 +314,7 @@ static WERROR cmd_spoolss_enum_printers(struct cli_state *cli, return WERR_OK; } - if (argc == 2) + if (argc >= 2) info_level = atoi(argv[1]); if (argc == 3) |