1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r14217: Fix Coverity Bug # 7

(This used to be commit b3cfa292cf)
This commit is contained in:
Volker Lendecke 2006-03-11 23:07:22 +00:00 committed by Gerald (Jerry) Carter
parent 0fcd3e1095
commit e6f82d5c36

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;
}