[Slim-Checkins] r9849 - /branches/6.5/server/Slim/Networking/Slimproto.pm

adrian at svn.slimdevices.com adrian at svn.slimdevices.com
Mon Sep 18 14:40:48 PDT 2006


Author: adrian
Date: Mon Sep 18 14:40:46 2006
New Revision: 9849

URL: http://svn.slimdevices.com?rev=9849&view=rev
Log:
Bug: N/A
Description: merge -r 9846:9847 from trunk

Modified:
    branches/6.5/server/Slim/Networking/Slimproto.pm

Modified: branches/6.5/server/Slim/Networking/Slimproto.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Slim/Networking/Slimproto.pm?rev=9849&r1=9848&r2=9849&view=diff
==============================================================================
--- branches/6.5/server/Slim/Networking/Slimproto.pm (original)
+++ branches/6.5/server/Slim/Networking/Slimproto.pm Mon Sep 18 14:40:46 2006
@@ -808,11 +808,9 @@
 		$client = undef;
 	}
 
-	if ( defined $client ) {
-		if ( blessed($client->display) && blessed($client->display) ne $display_class ) {
-			$::d_slimproto && msg("change display for $client_class to $display_class\n");
-			$client->display->forgetDisplay();
-		}
+	if (defined $client && blessed($client->display) && blessed($client->display) ne $display_class) {
+		$::d_slimproto && msg("change display for $client_class to $display_class\n");
+		$client->display->forgetDisplay();
 
 		Slim::bootstrap::tryModuleLoad($display_class);
 



More information about the checkins mailing list