summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-03-18 21:24:01 +0000
committerJeremy Allison <jra@samba.org>2003-03-18 21:24:01 +0000
commitdd1b7e3675236f6cda4dc919ec9fb73051a7bd2a (patch)
tree9943c3a8e375201f767c9e0db12110c74c787866
parent84e99fe8986dac9fa95857bf15bbd633db78e7ea (diff)
downloadsamba-dd1b7e3675236f6cda4dc919ec9fb73051a7bd2a.tar.gz
samba-dd1b7e3675236f6cda4dc919ec9fb73051a7bd2a.tar.bz2
samba-dd1b7e3675236f6cda4dc919ec9fb73051a7bd2a.zip
const warning fix.
Jeremy. (This used to be commit 478a5c654a6d2765b726e9a8ef64af7716cb56c0)
-rw-r--r--source3/param/loadparm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 3ff6b3e22f..366ee13ec2 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3272,7 +3272,8 @@ static void dump_a_service(service * pService, FILE * f)
{
int i;
param_opt_struct *data;
- char *s, *sn;
+ const char *sn;
+ char *s;
if (pService != &sDefault)
fprintf(f, "\n[%s]\n", pService->szService);