summaryrefslogtreecommitdiff
path: root/usr.bin/cdio
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-01-11 01:29:08 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-01-11 01:29:08 +0000
commitaf73359bcb355eda5b4a638e94ce09717d1be680 (patch)
tree3979478cd0a37e80e7f07fc1b0703b67a6dcbb2a /usr.bin/cdio
parent424bfd73ffebf68cb05ce04ec793b6ff382adb47 (diff)
Whitespace nits.
Diffstat (limited to 'usr.bin/cdio')
-rw-r--r--usr.bin/cdio/cdio.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c
index af59cd89b0c..a35bb65db1d 100644
--- a/usr.bin/cdio/cdio.c
+++ b/usr.bin/cdio/cdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdio.c,v 1.45 2006/01/10 19:59:11 krw Exp $ */
+/* $OpenBSD: cdio.c,v 1.46 2006/01/11 01:29:07 krw Exp $ */
/* Copyright (c) 1995 Serge V. Vakulenko
* All rights reserved.
@@ -240,13 +240,13 @@ main(int argc, char **argv)
case 'f':
cdname = optarg;
break;
- case 'd':
+ case 'd':
cddb_host = optarg;
break;
default:
usage();
}
-
+
argc -= optind;
argv += optind;
@@ -522,8 +522,7 @@ play(char *arg)
if (! arg || ! *arg) {
/* Play the whole disc */
-
- return (play_track(h.starting_track, 1,
+ return (play_track(h.starting_track, 1,
h.ending_track, 1));
}
@@ -1046,7 +1045,7 @@ prtrack(struct cd_toc_entry *e, int lastflag, char *name)
lba2msf(block, &m, &s, &f);
/* Print track start */
printf("%2d:%02d.%02d ", m, s, f);
- }
+ }
}
if (lastflag) {
if (!name)
@@ -1224,7 +1223,7 @@ parse(char *buf, int *cmd)
for (buf = p; *p && ! isspace(*p); p++)
continue;
-
+
len = p - buf;
if (! len)
return (0);
@@ -1244,7 +1243,7 @@ parse(char *buf, int *cmd)
if (! strcasecmp(buf, c->name)) {
*cmd = c->command;
break;
- }
+ }
/* Try short hand forms then... */
if (len >= c->min && ! strncasecmp(buf, c->name, len)) {
@@ -1253,7 +1252,7 @@ parse(char *buf, int *cmd)
return (0);
}
*cmd = c->command;
- }
+ }
}
if (*cmd == -1) {