From a8272baf6e7e1089356437eeeededa6bac219412 Mon Sep 17 00:00:00 2001 From: mdb Date: Fri, 13 Jul 2001 00:21:32 +0000 Subject: [PATCH] Arg, the dreaded equals bug. git-svn-id: https://samskivert.googlecode.com/svn/trunk@179 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- projects/robodj/bin/musicd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/robodj/bin/musicd b/projects/robodj/bin/musicd index 82d53528..dbb63a71 100755 --- a/projects/robodj/bin/musicd +++ b/projects/robodj/bin/musicd @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # -# $Id: musicd,v 1.8 2001/07/13 00:16:01 mdb Exp $ +# $Id: musicd,v 1.9 2001/07/13 00:21:32 mdb Exp $ # # MP3 audio server. Manages playlists of mp3 files that live on a local # filesystem. The playlists can be manipulated by connecting to the server @@ -118,7 +118,7 @@ sub handle_client my $sid = $1; # if we're playing the song to remove, skip to the next song - if ($sid = $playing->[1]) { + if ($sid == $playing->[1]) { play_next_tune(); }