diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-10-21 16:46:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:36 -0500 |
commit | f29a0d90a3afd5a12cdd70e0090c6e7c0c447293 (patch) | |
tree | 898c4e447e6a66d8ed26e08f37dcaa5ae35299fd | |
parent | 0dab687fcee526d1b8f0cb8e92bc6e8107481b11 (diff) | |
download | samba-f29a0d90a3afd5a12cdd70e0090c6e7c0c447293.tar.gz samba-f29a0d90a3afd5a12cdd70e0090c6e7c0c447293.tar.bz2 samba-f29a0d90a3afd5a12cdd70e0090c6e7c0c447293.zip |
r19446: Comment can be NULL now
(This used to be commit f4dcb9bd56dc61bc2d254f1fb8a648ef9fc6aa8f)
-rw-r--r-- | source3/utils/net_rpc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 33889235bf..e7bf53ad3f 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -3121,7 +3121,8 @@ static void display_share_info_1(struct srvsvc_NetShareInfo1 *info1) { if (opt_long_list_entries) { d_printf("%-12s %-8.8s %-50s\n", - info1->name, share_type[info1->type], info1->comment); + info1->name, share_type[info1->type], + info1->comment ? info1->comment : ""); } else { d_printf("%s\n", info1->name); } |