aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/oss_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-26 22:10:58 +0100
committerMax Kellermann <max@duempel.org>2009-02-26 22:10:58 +0100
commitdfea6b7cdd50ad14082b1848104d580b4380471b (patch)
tree1d8341518d69b5441da8990fa25f1059f300f212 /src/output/oss_plugin.c
parentec926539a3a7a09b310e74a4fc84902e0971b29d (diff)
downloadmpd-dfea6b7cdd50ad14082b1848104d580b4380471b.tar.gz
mpd-dfea6b7cdd50ad14082b1848104d580b4380471b.tar.xz
mpd-dfea6b7cdd50ad14082b1848104d580b4380471b.zip
mvp: fixed default device detection
The check "open()!=0" is wrong, you have to write "open()>=0", because -1 means error, and 0 is a valid file handle.
Diffstat (limited to 'src/output/oss_plugin.c')
0 files changed, 0 insertions, 0 deletions