summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-06-24 09:15:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:01 -0500
commit7984ec9edbdd28797b33cd8a94a2836a02ff1575 (patch)
tree9576795933b118ea82a77e5e90a85c9a2d8a37e0 /source3/rpcclient
parent2b76b28932d9d1ed714e79579414f630966342e7 (diff)
downloadsamba-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/rpcclient')
-rw-r--r--source3/rpcclient/cmd_spoolss.c2
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)