[xiph-commits] r8118 - icecast/branches/kh/icecast/src

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Wed Oct 27 05:49:29 PDT 2004


Author: karl
Date: 2004-10-27 05:49:28 -0700 (Wed, 27 Oct 2004)
New Revision: 8118

Modified:
   icecast/branches/kh/icecast/src/admin.c
   icecast/branches/kh/icecast/src/auth_url.c
Log:
minor changes


Modified: icecast/branches/kh/icecast/src/admin.c
===================================================================
--- icecast/branches/kh/icecast/src/admin.c	2004-10-27 11:36:39 UTC (rev 8117)
+++ icecast/branches/kh/icecast/src/admin.c	2004-10-27 12:49:28 UTC (rev 8118)
@@ -894,8 +894,8 @@
         {
             if (artist && title)
             {
+                plugin->set_tag (plugin, "title", title);
                 plugin->set_tag (plugin, "artist", artist);
-                plugin->set_tag (plugin, "title", title);
                 INFO3("Metadata on mountpoint %s changed to \"%s - %s\"",
                         source->mount, artist, title);
             }

Modified: icecast/branches/kh/icecast/src/auth_url.c
===================================================================
--- icecast/branches/kh/icecast/src/auth_url.c	2004-10-27 11:36:39 UTC (rev 8117)
+++ icecast/branches/kh/icecast/src/auth_url.c	2004-10-27 12:49:28 UTC (rev 8118)
@@ -94,7 +94,7 @@
     auth_client *auth_user = stream;
     unsigned bytes = size * nmemb;
 
-    if (strncmp (ptr, "icecast-auth-user: 1", 20) == 0)
+    if (strncasecmp (ptr, "icecast-auth-user: 1", 20) == 0)
         auth_user->authenticated = 1;
 
     return (int)bytes;



More information about the commits mailing list