diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-07-12 02:34:23 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-07-12 02:34:23 +0000 |
commit | db2f8439952c771ca1d560df9057c81ed4ca8293 (patch) | |
tree | df8d803cbaa01c62eba4907fb17e528beaf104ed /src/libmad/timer.c | |
parent | d8d6b949c6e6ed8f59d8436054bbc10a941305b5 (diff) | |
download | mpd-db2f8439952c771ca1d560df9057c81ed4ca8293.tar.gz mpd-db2f8439952c771ca1d560df9057c81ed4ca8293.tar.xz mpd-db2f8439952c771ca1d560df9057c81ed4ca8293.zip |
OSS: correctly check for the device in oss_testDefault()
open(2) returns -1 on error (if the device does not exist),
and -1 is true.
Also, put shank's name in the copyright header since half
the code is his (including this bug :P).
git-svn-id: https://svn.musicpd.org/mpd/trunk@4310 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions