projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6973e40
)
xmms plugin: Return `-1' when values could be read but are weird.
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
238a8ee
..
1e646d2
100644
(file)
--- a/
src/xmms.c
+++ b/
src/xmms.c
@@
-55,7
+55,7
@@
int cxmms_read (void)
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);