summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6973e40)
raw | patch | inline | side by side (parent: 6973e40)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 12 Oct 2007 16:09:29 +0000 (18:09 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 12 Oct 2007 16:09:29 +0000 (18:09 +0200) |
src/xmms.c | patch | blob | history |
diff --git a/src/xmms.c b/src/xmms.c
index 238a8ee3bf5e639dc0dd0718e49683b1448716af..1e646d21165722b289f6721dd672837e03b5b40c 100644 (file)
--- a/src/xmms.c
+++ b/src/xmms.c
xmms_remote_get_info (xmms_session, &rate, &freq, &nch);
if ((freq == 0) || (nch == 0))
- return (0);
+ return (-1);
cxmms_submit ("bitrate", rate);
cxmms_submit ("frequency", freq);