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