git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f94a63c
)
Fix netdiskenum call in rpcclient.
author
Günther Deschner
<gd@samba.org>
Tue, 11 Mar 2008 03:52:46 +0000
(
04:52
+0100)
committer
Günther Deschner
<gd@samba.org>
Tue, 11 Mar 2008 03:52:46 +0000
(
04:52
+0100)
Guenther
source/rpcclient/cmd_srvsvc.c
patch
|
blob
|
history
diff --git
a/source/rpcclient/cmd_srvsvc.c
b/source/rpcclient/cmd_srvsvc.c
index a5eb69c41c944b63d9a14b90e03cedcd673afb1c..f6985cbc13c25e80b881437f14282a6c0bfe6298 100644
(file)
--- a/
source/rpcclient/cmd_srvsvc.c
+++ b/
source/rpcclient/cmd_srvsvc.c
@@
-766,7
+766,7
@@
static WERROR cmd_srvsvc_net_disk_enum(struct rpc_pipe_client *cli,
uint32_t resume_handle = 0;
uint32_t level = 0;
- if (argc >
2
) {
+ if (argc >
4
) {
printf("Usage: %s [level] [resume_handle]\n", argv[0]);
return WERR_OK;
}