1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r14217: Fix Coverity Bug # 7

This commit is contained in:
Volker Lendecke 2006-03-11 23:07:22 +00:00 committed by Gerald (Jerry) Carter
parent e4c9cba2f9
commit b3cfa292cf

View File

@ -1163,7 +1163,7 @@ static NTSTATUS cmd_samr_query_dispinfo(struct rpc_pipe_client *cli,
int loop_count = 0;
BOOL got_params = False; /* Use get_query_dispinfo_params() or not? */
if (argc > 5) {
if (argc > 6) {
printf("Usage: %s [info level] [start index] [max entries] [max size] [access mask]\n", argv[0]);
return NT_STATUS_OK;
}