summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-16 02:42:07 +0000
committerMartin Pool <mbp@samba.org>2002-01-16 02:42:07 +0000
commitfed604bfa368a2bb1fed414e368d491e4c7d7005 (patch)
tree06157b6c9fda86e3ec5ecd1448ab6534eb7ec19c /source3/param
parent978f1ba98d91851a04facef76b9ea9adaf4add3e (diff)
downloadsamba-fed604bfa368a2bb1fed414e368d491e4c7d7005.tar.gz
samba-fed604bfa368a2bb1fed414e368d491e4c7d7005.tar.bz2
samba-fed604bfa368a2bb1fed414e368d491e4c7d7005.zip
Roll back PSTRING_SANCTIFY patch; just leave non-controversial type
and constness changes. (This used to be commit cee0ec72746122c962e6c5278a736266a7f2c424)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 461fd8f05e..f6771b85d9 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1885,7 +1885,7 @@ BOOL lp_add_home(const char *pszHomename, int iDefaultService, const char *pszHo
/***************************************************************************
add a new service, based on an old one.
***************************************************************************/
-int lp_add_service(char *pszService, int iDefaultService)
+int lp_add_service(const char *pszService, int iDefaultService)
{
return (add_a_service(ServicePtrs[iDefaultService], pszService));
}