svn commit: samba r19446 - in branches/SAMBA_3_0/source/utils: .

vlendec at samba.org vlendec at samba.org
Sat Oct 21 16:46:31 GMT 2006


Author: vlendec
Date: 2006-10-21 16:46:30 +0000 (Sat, 21 Oct 2006)
New Revision: 19446

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19446

Log:
Comment can be NULL now
Modified:
   branches/SAMBA_3_0/source/utils/net_rpc.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_rpc.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_rpc.c	2006-10-21 16:27:38 UTC (rev 19445)
+++ branches/SAMBA_3_0/source/utils/net_rpc.c	2006-10-21 16:46:30 UTC (rev 19446)
@@ -3121,7 +3121,8 @@
 {
 	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);
 	}



More information about the samba-cvs mailing list