diff options
Diffstat (limited to 'source4/smb_server/service.c')
-rw-r--r-- | source4/smb_server/service.c | 2 |
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,"..")) { |