svn commit: samba r16947 - in branches/SAMBA_3_0/source/utils: .
jra at samba.org
jra at samba.org
Tue Jul 11 18:03:25 GMT 2006
Author: jra
Date: 2006-07-11 18:03:25 +0000 (Tue, 11 Jul 2006)
New Revision: 16947
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16947
Log:
Fix warning with profile separator when profiles not
being used.
Jeremy.
Modified:
branches/SAMBA_3_0/source/utils/status_profile.c
Changeset:
Modified: branches/SAMBA_3_0/source/utils/status_profile.c
===================================================================
--- branches/SAMBA_3_0/source/utils/status_profile.c 2006-07-11 18:03:00 UTC (rev 16946)
+++ branches/SAMBA_3_0/source/utils/status_profile.c 2006-07-11 18:03:25 UTC (rev 16947)
@@ -21,6 +21,7 @@
#include "includes.h"
+#ifdef WITH_PROFILE
static void profile_separator(const char * title)
{
char line[79 + 1];
@@ -35,6 +36,7 @@
line[sizeof(line) - 1] = '\0';
d_printf("%s\n", line);
}
+#endif
/*******************************************************************
dump the elements of the profile structure
More information about the samba-cvs
mailing list