summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-07-20 23:55:17 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-07-20 23:55:17 +0000
commitc30f930262b2156e15f7dc927f2c71fc20f47f46 (patch)
tree7dabf998cb92bc44ca445f70577c3574ba1bdc9f /source3/param/loadparm.c
parent27211c55e2d8e474cef0abe80847a4387aa688e3 (diff)
downloadsamba-c30f930262b2156e15f7dc927f2c71fc20f47f46.tar.gz
samba-c30f930262b2156e15f7dc927f2c71fc20f47f46.tar.bz2
samba-c30f930262b2156e15f7dc927f2c71fc20f47f46.zip
And a little more 'const'.
(This used to be commit 2cbbf0ecd33774041dd831956935ab3cf69ce2a6)
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 0602e901a4..a5f01c6abf 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1977,9 +1977,9 @@ static BOOL lp_add_ipc(char *ipc_name, BOOL guest_ok)
/***************************************************************************
add a new printer service, with defaults coming from service iFrom.
***************************************************************************/
-BOOL lp_add_printer(char *pszPrintername, int iDefaultService)
+BOOL lp_add_printer(const char *pszPrintername, int iDefaultService)
{
- char *comment = "From Printcap";
+ const char *comment = "From Printcap";
int i = add_a_service(ServicePtrs[iDefaultService], pszPrintername);
if (i < 0)