svn commit: samba r13133 - branches/SAMBA_3_0/source/utils trunk/source/utils

jerry at samba.org jerry at samba.org
Wed Jan 25 15:43:15 GMT 2006


Author: jerry
Date: 2006-01-25 15:43:15 +0000 (Wed, 25 Jan 2006)
New Revision: 13133

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

Log:
patch from Makr Proehl <m.proehl at science-computing.de> for dumping server role when calling 'testparm -s' (BUG 1336)
Modified:
   branches/SAMBA_3_0/source/utils/testparm.c
   trunk/source/utils/testparm.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/testparm.c
===================================================================
--- branches/SAMBA_3_0/source/utils/testparm.c	2006-01-25 15:12:18 UTC (rev 13132)
+++ branches/SAMBA_3_0/source/utils/testparm.c	2006-01-25 15:43:15 UTC (rev 13133)
@@ -349,7 +349,7 @@
 	}
 
 
-	if (!silent_mode && !section_name && !parameter_name) {
+	if (!section_name && !parameter_name) {
 		fprintf(stderr,"Server role: %s\n", server_role_str(lp_server_role()));
 	}
 

Modified: trunk/source/utils/testparm.c
===================================================================
--- trunk/source/utils/testparm.c	2006-01-25 15:12:18 UTC (rev 13132)
+++ trunk/source/utils/testparm.c	2006-01-25 15:43:15 UTC (rev 13133)
@@ -349,7 +349,7 @@
 	}
 
 
-	if (!silent_mode && !section_name && !parameter_name) {
+	if (!section_name && !parameter_name) {
 		fprintf(stderr,"Server role: %s\n", server_role_str(lp_server_role()));
 	}
 



More information about the samba-cvs mailing list