summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-06-17 09:40:35 +0000
committerVolker Lendecke <vlendec@samba.org>2003-06-17 09:40:35 +0000
commitea1cec68bb598fa7a9c2ee493033817b5de7e3e1 (patch)
tree13e360f84e28126b3970928b53ba5ee3633853d7 /source3/lib/util.c
parentac44100674110135a48d1df20eab933697ff520e (diff)
downloadsamba-ea1cec68bb598fa7a9c2ee493033817b5de7e3e1.tar.gz
samba-ea1cec68bb598fa7a9c2ee493033817b5de7e3e1.tar.bz2
samba-ea1cec68bb598fa7a9c2ee493033817b5de7e3e1.zip
Const fixes by metze
Volker (This used to be commit c0e35f3be8a33f19823826c5a84c885764c62508)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 95d3403a7c..eb790741d9 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2345,9 +2345,9 @@ BOOL mask_match(const char *string, char *pattern, BOOL is_case_sensitive)
Recursive routine that is called by unix_wild_match.
*********************************************************/
-static BOOL unix_do_match(char *regexp, char *str)
+static BOOL unix_do_match(const char *regexp, const char *str)
{
- char *p;
+ const char *p;
for( p = regexp; *p && *str; ) {