summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-23 08:50:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:16 -0500
commit94b7bf91fe69f6a2f28c7ce6cebc592df6c54816 (patch)
treee0a5cc15961bb4269969c8035e84ea58eb643972 /source4
parent38188de793fb49867b0f595a20298ee4cf8e4983 (diff)
downloadsamba-94b7bf91fe69f6a2f28c7ce6cebc592df6c54816.tar.gz
samba-94b7bf91fe69f6a2f28c7ce6cebc592df6c54816.tar.bz2
samba-94b7bf91fe69f6a2f28c7ce6cebc592df6c54816.zip
r1999: fix compiler warning
metze (This used to be commit 8c9c702bc3328c3826985711c4a30b878cf8b02e)
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/service.c b/source4/smb_server/service.c
index 9eb28ff079..6b7c626dd5 100644
--- a/source4/smb_server/service.c
+++ b/source4/smb_server/service.c
@@ -98,7 +98,7 @@ static int find_service(const char *service)
/* just possibly it's a default service? */
if (iService == -1) {
- char *pdefservice = lp_defaultservice();
+ const char *pdefservice = lp_defaultservice();
if (pdefservice && *pdefservice &&
!strequal(pdefservice,service) &&
!strstr(service,"..")) {