summaryrefslogtreecommitdiff
path: root/lib/util/ms_fnmatch.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-04 21:20:57 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-06 08:50:52 +0200
commit8aae59a277fe4bf5a1a84cb4730e5772c9ffca8c (patch)
tree34e978b29383df66b98f7315563b917c31448ca1 /lib/util/ms_fnmatch.c
parente3b858496ffe213f66387e4f11b311543af4dc54 (diff)
downloadsamba-8aae59a277fe4bf5a1a84cb4730e5772c9ffca8c.tar.gz
samba-8aae59a277fe4bf5a1a84cb4730e5772c9ffca8c.tar.bz2
samba-8aae59a277fe4bf5a1a84cb4730e5772c9ffca8c.zip
lib/util don't use enum protocol_types in ms_fnmatch_protocol
This makes it easier to compile this in the top level with s3 and s4 headers. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri May 6 08:50:52 CEST 2011 on sn-devel-104
Diffstat (limited to 'lib/util/ms_fnmatch.c')
-rw-r--r--lib/util/ms_fnmatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/ms_fnmatch.c b/lib/util/ms_fnmatch.c
index d029fd6b00..1ba5888ca0 100644
--- a/lib/util/ms_fnmatch.c
+++ b/lib/util/ms_fnmatch.c
@@ -154,7 +154,7 @@ static int ms_fnmatch_core(const char *p, const char *n,
return -1;
}
-int ms_fnmatch_protocol(const char *pattern, const char *string, enum protocol_types protocol)
+int ms_fnmatch_protocol(const char *pattern, const char *string, int protocol)
{
int ret, count, i;
struct max_n *max_n = NULL;