git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dab687
)
r19446: Comment can be NULL now
author
Volker Lendecke
<vlendec@samba.org>
Sat, 21 Oct 2006 16:46:30 +0000
(16:46 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:15:36 +0000
(12:15 -0500)
(This used to be commit
f4dcb9bd56dc61bc2d254f1fb8a648ef9fc6aa8f
)
source3/utils/net_rpc.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rpc.c
b/source3/utils/net_rpc.c
index 33889235bf01dc2db2205a0b9ef69f7ddfb0acea..e7bf53ad3ff6855e1976e2825be78640356fff69 100644
(file)
--- 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);
}