summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/compat.c b/compat.c
index aa50d2ce8..945fd349b 100644
--- a/compat.c
+++ b/compat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: compat.c,v 1.101 2017/04/30 23:10:43 djm Exp $ */ 1/* $OpenBSD: compat.c,v 1.102 2017/04/30 23:11:45 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 *
@@ -232,8 +232,6 @@ proto_spec(const char *spec)
232 return ret; 232 return ret;
233 for ((p = strsep(&q, SEP)); p && *p != '\0'; (p = strsep(&q, SEP))) { 233 for ((p = strsep(&q, SEP)); p && *p != '\0'; (p = strsep(&q, SEP))) {
234 switch (atoi(p)) { 234 switch (atoi(p)) {
235 case 1:
236 break;
237 case 2: 235 case 2:
238 ret |= SSH_PROTO_2; 236 ret |= SSH_PROTO_2;
239 break; 237 break;