summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-09-02 14:49:38 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-09-02 14:49:38 +0000
commitde44ee09789ffcbccf2d7ededb43e378226a4e9e (patch)
tree807fcdb90aa70868862a5ed64a2257086969d747 /lib
parente0d16f26859f3b2ba97fc60c851b0fb4d390ea18 (diff)
downloadampache-de44ee09789ffcbccf2d7ededb43e378226a4e9e.tar.gz
ampache-de44ee09789ffcbccf2d7ededb43e378226a4e9e.tar.bz2
ampache-de44ee09789ffcbccf2d7ededb43e378226a4e9e.zip
minor math correction
Diffstat (limited to 'lib')
-rw-r--r--lib/stream.lib.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stream.lib.php b/lib/stream.lib.php
index 9ead76dc..c3915954 100644
--- a/lib/stream.lib.php
+++ b/lib/stream.lib.php
@@ -166,8 +166,8 @@ function start_downsample($song,$now_playing_id=0,$song_name=0) {
$db_results = mysql_query($sql,$dbh);
$results = mysql_fetch_row($db_results);
- // Current number of active streams + 1 (the one we are starting)
- $active_streams = $results[0] + 1;
+ // Current number of active streams (current is already in now playing)
+ $active_streams = $results[0];
/* If only one user, they'll get all available. Otherwise split up equally. */