artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24bad77
)
removed unnecessary test
author
kstailey
<kstailey@openbsd.org>
Fri, 3 Jan 1997 21:05:28 +0000
(21:05 +0000)
committer
kstailey
<kstailey@openbsd.org>
Fri, 3 Jan 1997 21:05:28 +0000
(21:05 +0000)
usr.bin/aucat/aucat.c
patch
|
blob
|
history
diff --git
a/usr.bin/aucat/aucat.c
b/usr.bin/aucat/aucat.c
index
2864b0c
..
0ec7857
100644
(file)
--- a/
usr.bin/aucat/aucat.c
+++ b/
usr.bin/aucat/aucat.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: aucat.c,v 1.
1 1997/01/02 22:12:27
kstailey Exp $ */
+/* $OpenBSD: aucat.c,v 1.
2 1997/01/03 21:05:28
kstailey Exp $ */
/*
* Copyright (c) 1997 Kenneth Stailey. All rights reserved.
*
@@
-87,8
+87,7
@@
main(int argc, char **argv)
lseek(fd, 0, SEEK_SET);
} else {
read(fd, &data, sizeof(data));
- if (BYTE_ORDER != BIG_ENDIAN)
- data = htonl(data);
+ data = htonl(data);
lseek(fd, (off_t)data, SEEK_SET);
}
if (playfile(fd) < 0)