summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-11-25 00:07:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:26 -0500
commit482f14871d568a24006fec5af68d722b5fa70a0d (patch)
treecd543ea38cad80a2ac07871d04aa7bc8aac7b617 /source3/lib/util.c
parent314ec086f3a015f97cc5dafc3038b3bf782d92af (diff)
downloadsamba-482f14871d568a24006fec5af68d722b5fa70a0d.tar.gz
samba-482f14871d568a24006fec5af68d722b5fa70a0d.tar.bz2
samba-482f14871d568a24006fec5af68d722b5fa70a0d.zip
r3946: Fix for bugid #2085 reported by Jason Mader <jason@ncac.gwu.edu>. Use consistent
enum type for Protocol extern. Jeremy. (This used to be commit 65dfae7ea45d4c9452b2a08efa09b01d870142f3)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index feb03fe439..0d5c7d7f07 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -49,7 +49,7 @@
#endif /* WITH_NISPLUS_HOME */
#endif /* HAVE_NETGROUP && WITH_AUTOMOUNT */
-int Protocol = PROTOCOL_COREPLUS;
+enum protocol_types Protocol = PROTOCOL_COREPLUS;
/* a default finfo structure to ensure all fields are sensible */
file_info def_finfo = {-1,0,0,0,0,0,0,"",""};