mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Fix for null command description in rpcclient help. From Benjamin Kuit
<bj@it.uts.edu.au>.
(This used to be commit 60d1d0bfa9
)
This commit is contained in:
parent
bf65820af2
commit
203c2301eb
@ -292,7 +292,8 @@ static NTSTATUS cmd_help(struct cli_state *cli, TALLOC_CTX *mem_ctx,
|
||||
while(tmp_set->name) {
|
||||
|
||||
printf("%15s\t\t%s\n", tmp_set->name,
|
||||
tmp_set->description);
|
||||
tmp_set->description ? tmp_set->description:
|
||||
"");
|
||||
|
||||
tmp_set++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user