diff options
-rw-r--r-- | usr.bin/ftp/fetch.c | 3 | ||||
-rw-r--r-- | usr.bin/ftp/list.c | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c index bd6d71a700a..d8ce2351dd7 100644 --- a/usr.bin/ftp/fetch.c +++ b/usr.bin/ftp/fetch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fetch.c,v 1.100 2010/06/29 23:12:33 halex Exp $ */ +/* $OpenBSD: fetch.c,v 1.101 2010/07/03 00:21:14 halex Exp $ */ /* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */ /*- @@ -682,6 +682,7 @@ again: warnx("Server does not support resume."); restart_point = resume = 0; } + /* FALLTHROUGH */ case 206: /* Partial Content */ #endif /* !SMALL */ break; diff --git a/usr.bin/ftp/list.c b/usr.bin/ftp/list.c index adf3643a2bc..f31b90300b9 100644 --- a/usr.bin/ftp/list.c +++ b/usr.bin/ftp/list.c @@ -1,4 +1,4 @@ -/* $OpenBSD: list.c,v 1.4 2010/06/27 20:00:58 phessler Exp $ */ +/* $OpenBSD: list.c,v 1.5 2010/07/03 00:21:14 halex Exp $ */ /* * Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org> @@ -75,9 +75,9 @@ void parse_list(char **line, char *type) { if (**line >= '0' && **line <= '9') - return parse_windows(line, type); - - return parse_unix(line, type); + parse_windows(line, type); + else + parse_unix(line, type); } #endif /* !SMALL */ |