summaryrefslogtreecommitdiff
path: root/source3/param
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/param
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/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index d5069e6836..95f09c70e4 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -4304,7 +4304,7 @@ const char *lp_printcapname(void)
BOOL lp_use_sendfile(int snum)
{
- extern int Protocol;
+ extern enum protocol_types Protocol;
/* Using sendfile blows the brains out of any DOS or Win9x TCP stack... JRA. */
if (Protocol < PROTOCOL_NT1) {
return False;