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:
bf65820
)
Fix for null command description in rpcclient help. From Benjamin Kuit
author
Tim Potter
<tpot@samba.org>
Fri, 21 Dec 2001 01:16:37 +0000
(
01:16
+0000)
committer
Tim Potter
<tpot@samba.org>
Fri, 21 Dec 2001 01:16:37 +0000
(
01:16
+0000)
<bj@it.uts.edu.au>.
(This used to be commit
60d1d0bfa93bfb8264b117147b651b521dbf28ce
)
source3/rpcclient/rpcclient.c
patch
|
blob
|
history
diff --git
a/source3/rpcclient/rpcclient.c
b/source3/rpcclient/rpcclient.c
index f57b4f2e483527f8205b1ea812333055ce8fbf05..bf41e8dc28ec8f2ec4ef159e940dc019b9afd25d 100644
(file)
--- a/
source3/rpcclient/rpcclient.c
+++ b/
source3/rpcclient/rpcclient.c
@@
-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++;
}