diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-09-02 14:49:38 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-09-02 14:49:38 +0000 |
commit | de44ee09789ffcbccf2d7ededb43e378226a4e9e (patch) | |
tree | 807fcdb90aa70868862a5ed64a2257086969d747 /lib | |
parent | e0d16f26859f3b2ba97fc60c851b0fb4d390ea18 (diff) | |
download | ampache-de44ee09789ffcbccf2d7ededb43e378226a4e9e.tar.gz ampache-de44ee09789ffcbccf2d7ededb43e378226a4e9e.tar.bz2 ampache-de44ee09789ffcbccf2d7ededb43e378226a4e9e.zip |
minor math correction
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stream.lib.php | 4 |
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. */ |