svn commit: samba r23666 - in branches: SAMBA_3_0/source/param
SAMBA_3_0/source/utils SAMBA_3_0_26/source/param
SAMBA_3_0_26/source/utils
obnox at samba.org
obnox at samba.org
Sat Jun 30 21:35:45 GMT 2007
Author: obnox
Date: 2007-06-30 21:35:39 +0000 (Sat, 30 Jun 2007)
New Revision: 23666
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23666
Log:
Rename lp_parameter_valid -> lp_parameter_is_valid.
Michael
Modified:
branches/SAMBA_3_0/source/param/loadparm.c
branches/SAMBA_3_0/source/utils/net_conf.c
branches/SAMBA_3_0_26/source/param/loadparm.c
branches/SAMBA_3_0_26/source/utils/net_conf.c
Changeset:
Modified: branches/SAMBA_3_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_3_0/source/param/loadparm.c 2007-06-30 09:15:33 UTC (rev 23665)
+++ branches/SAMBA_3_0/source/param/loadparm.c 2007-06-30 21:35:39 UTC (rev 23666)
@@ -2782,7 +2782,7 @@
Parametric options (names containing a colon) are considered valid.
***************************************************************************/
-BOOL lp_parameter_valid(const char *pszParmName)
+BOOL lp_parameter_is_valid(const char *pszParmName)
{
return ((map_parameter(pszParmName) != -1) ||
(strchr(pszParmName, ':') != NULL));
Modified: branches/SAMBA_3_0/source/utils/net_conf.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_conf.c 2007-06-30 09:15:33 UTC (rev 23665)
+++ branches/SAMBA_3_0/source/utils/net_conf.c 2007-06-30 21:35:39 UTC (rev 23666)
@@ -171,7 +171,7 @@
goto done;
}
- if (!lp_parameter_valid(valname)) {
+ if (!lp_parameter_is_valid(valname)) {
d_fprintf(stderr, "Invalid parameter '%s' given.\n", valname);
werr = WERR_INVALID_PARAM;
goto done;
Modified: branches/SAMBA_3_0_26/source/param/loadparm.c
===================================================================
--- branches/SAMBA_3_0_26/source/param/loadparm.c 2007-06-30 09:15:33 UTC (rev 23665)
+++ branches/SAMBA_3_0_26/source/param/loadparm.c 2007-06-30 21:35:39 UTC (rev 23666)
@@ -2783,7 +2783,7 @@
Parametric options (names containing a colon) are considered valid.
***************************************************************************/
-BOOL lp_parameter_valid(const char *pszParmName)
+BOOL lp_parameter_is_valid(const char *pszParmName)
{
return ((map_parameter(pszParmName) != -1) ||
(strchr(pszParmName, ':') != NULL));
Modified: branches/SAMBA_3_0_26/source/utils/net_conf.c
===================================================================
--- branches/SAMBA_3_0_26/source/utils/net_conf.c 2007-06-30 09:15:33 UTC (rev 23665)
+++ branches/SAMBA_3_0_26/source/utils/net_conf.c 2007-06-30 21:35:39 UTC (rev 23666)
@@ -171,7 +171,7 @@
goto done;
}
- if (!lp_parameter_valid(valname)) {
+ if (!lp_parameter_is_valid(valname)) {
d_fprintf(stderr, "Invalid parameter '%s' given.\n", valname);
werr = WERR_INVALID_PARAM;
goto done;
More information about the samba-cvs
mailing list