summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Hall <halex@cvs.openbsd.org>2010-07-03 00:21:15 +0000
committerAlexander Hall <halex@cvs.openbsd.org>2010-07-03 00:21:15 +0000
commitd1423a4808340b828d938750f544c996a3911cc2 (patch)
treed102b9c3c9ec7e14b77b45780d0b52ea2b05cdbc
parentce3dd50d7f6ea629fba69126b2e12ef6256b9bfa (diff)
make lint happy
ok phessler@
-rw-r--r--usr.bin/ftp/fetch.c3
-rw-r--r--usr.bin/ftp/list.c8
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 */