summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/compat.c b/compat.c
index 0dc089fd6..f680f4fe3 100644
--- a/compat.c
+++ b/compat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: compat.c,v 1.79 2011/09/23 07:45:05 markus Exp $ */ 1/* $OpenBSD: compat.c,v 1.80 2012/08/17 01:30:00 djm Exp $ */
2/* 2/*
3 * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. 3 * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved.
4 * 4 *
@@ -45,6 +45,8 @@ int datafellows = 0;
45void 45void
46enable_compat20(void) 46enable_compat20(void)
47{ 47{
48 if (compat20)
49 return;
48 debug("Enabling compatibility mode for protocol 2.0"); 50 debug("Enabling compatibility mode for protocol 2.0");
49 compat20 = 1; 51 compat20 = 1;
50} 52}