aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-01 00:36:36 +0100
committerMax Kellermann <max@duempel.org>2014-02-01 00:36:36 +0100
commit188783ac1a3677942a02aa79cdafd2c998a14cef (patch)
tree4d299bf529897098f92836cd7fc68816f6718136 /src
parentff650d50a21032c13c66f5514892276f67b2468a (diff)
downloadmpd-188783ac1a3677942a02aa79cdafd2c998a14cef.tar.gz
mpd-188783ac1a3677942a02aa79cdafd2c998a14cef.tar.xz
mpd-188783ac1a3677942a02aa79cdafd2c998a14cef.zip
Stats: return false if update has failed
Diffstat (limited to 'src')
-rw-r--r--src/Stats.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Stats.cxx b/src/Stats.cxx
index 6d406a438..53cb02c81 100644
--- a/src/Stats.cxx
+++ b/src/Stats.cxx
@@ -90,7 +90,7 @@ stats_update()
LogError(error);
stats_validity = StatsValidity::FAILED;
- return true;
+ return false;
}
}