Too trivial for a real bug reports.
In 7.7 trunk, svn 33706, the server log is filling up (i.e. hundreds
and hundreds of repetitions) with:
Code:
--------------------
[11-11-14 14:42:22.8283] Slim::Utils::Misc::msg (1304) Warning:
[14:42:22.8282] Use of uninitialized value in concatenation (.) or string at
/usr/share/lms/server/Slim/Plugin/UPnP/MediaServer/ConnectionManager.pm line
199.
[11-11-14 14:42:22.8284] Slim::Utils::Misc::msg (1304) Warning:
[14:42:22.8283] Use of uninitialized value in concatenation (.) or string at
/usr/share/lms/server/Slim/Plugin/UPnP/MediaServer/ConnectionManager.pm line
199.
[11-11-14 14:42:22.8285] Slim::Utils::Misc::msg (1304) Warning:
[14:42:22.8285] Use of uninitialized value in concatenation (.) or string at
/usr/share/lms/server/Slim/Plugin/UPnP/MediaServer/ConnectionManager.pm line
199.
..etc..
--------------------
So, what's the appropriate syntax in the code to deal with this?
Code:
--------------------
change:
my $key = $mime . $row->{dlna_profile};
..to..
my $key = $mime . ($row->{dlna_profile} || '');
--------------------
Is that the best way?
--
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=91628
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta