[Slim-Checkins] r12822 - /trunk/server/Slim/Web/Cometd.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Fri Aug 31 12:47:38 PDT 2007


Author: andy
Date: Fri Aug 31 12:47:38 2007
New Revision: 12822

URL: http://svn.slimdevices.com?rev=12822&view=rev
Log:
Fix warning with duplicate variables

Modified:
    trunk/server/Slim/Web/Cometd.pm

Modified: trunk/server/Slim/Web/Cometd.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Web/Cometd.pm?rev=12822&r1=12821&r2=12822&view=diff
==============================================================================
--- trunk/server/Slim/Web/Cometd.pm (original)
+++ trunk/server/Slim/Web/Cometd.pm Fri Aug 31 12:47:38 2007
@@ -480,13 +480,13 @@
 }
 
 sub handleRequest {
-	my $args = shift;
-	
-	my $clid     = $args->{clid};
-	my $cmd      = $args->{cmd};
-	my $channel  = $args->{channel};
-	my $id       = $args->{id};
-	my $response = defined $args->{response} ? $args->{response} : 1;
+	my $params = shift;
+	
+	my $clid     = $params->{clid};
+	my $cmd      = $params->{cmd};
+	my $channel  = $params->{channel};
+	my $id       = $params->{id};
+	my $response = defined $params->{response} ? $params->{response} : 1;
 	
 	my $args = $cmd->[1];
 



More information about the checkins mailing list