changeset 1033:34b998b6e3b2 trunk

[svn] fixed player crash when trying to get file info
author majeru
date Sat, 12 May 2007 04:29:22 -0700
parents 15e8890cb54d
children b0cb6f8d4339
files ChangeLog src/madplug/plugin.c
diffstat 2 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat May 12 00:56:32 2007 -0700
+++ b/ChangeLog	Sat May 12 04:29:22 2007 -0700
@@ -1,3 +1,13 @@
+2007-05-12 07:56:32 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2228]
+  - fix memory-leak for protocol 1.2 code
+  - disable accidental enabling of debugging code
+  
+  trunk/src/scrobbler/scrobbler.c |    4 ++--
+  trunk/src/scrobbler/settings.h  |    6 +++---
+  2 files changed, 5 insertions(+), 5 deletions(-)
+
+
 2007-05-12 07:37:48 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2226]
   - protocol 1.2: use interval 1
--- a/src/madplug/plugin.c	Sat May 12 00:56:32 2007 -0700
+++ b/src/madplug/plugin.c	Sat May 12 04:29:22 2007 -0700
@@ -288,7 +288,9 @@
 
 gboolean audmad_is_remote(gchar *url)
 {
-    if (!strncasecmp("http://", url, 7) || !strncasecmp("https://", url, 8))
+    if (!strncasecmp("http://", url, 7) 
+        || !strncasecmp("https://", url, 8)
+        || !strncasecmp("lastfm://", url, 9)) 
         return TRUE;
     else
         return FALSE;