diff options
Diffstat (limited to 'compat.c')
-rw-r--r-- | compat.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; | |||
45 | void | 45 | void |
46 | enable_compat20(void) | 46 | enable_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 | } |