summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/rpcclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index f57b4f2e48..bf41e8dc28 100644
--- 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++;
}