[syslinux:master] rosh: code cleanup
syslinux-bot for Gene Cumm
gene.cumm at gmail.com
Sun Nov 14 12:54:57 PST 2010
Commit-ID: 33f17653a07d7618e9aed30f6883597e62c90b26
Gitweb: http://syslinux.zytor.com/commit/33f17653a07d7618e9aed30f6883597e62c90b26
Author: Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Sun, 3 Oct 2010 10:02:11 -0400
Committer: Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sat, 9 Oct 2010 07:33:08 -0400
rosh: code cleanup
---
com32/rosh/rosh.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/com32/rosh/rosh.c b/com32/rosh/rosh.c
index 4f3be21..9831872 100644
--- a/com32/rosh/rosh.c
+++ b/com32/rosh/rosh.c
@@ -504,7 +504,7 @@ void rosh_ls_arg_opt(int argc, char *argv[], int *optarr)
optarr[2] = -1;
while (rv != -1) {
rv = getopt(argc, argv, rosh_ls_opt_str);
- switch (rv){
+ switch (rv) {
case 'l':
optarr[0] = 1;
break;
@@ -871,8 +871,7 @@ void rosh_ls(int argc, char *argv[])
ROSH_DEBUG(" argc=%d; optind=%d\n", argc, optind);
if (optind > argc)
rosh_ls_arg(".", optarr);
- for (i = optind; i < argc; i++){
-// while (strlen(filestr) > 0) {
+ for (i = optind; i < argc; i++) {
rosh_ls_arg(argv[i], optarr);
}
} /* rosh_ls */
More information about the Syslinux-commits
mailing list