[xiph-commits] r9731 - icecast/trunk/icecast/src

karl at svn.xiph.org karl at svn.xiph.org
Thu Aug 11 16:11:53 PDT 2005


Author: karl
Date: 2005-08-11 16:11:50 -0700 (Thu, 11 Aug 2005)
New Revision: 9731

Modified:
   icecast/trunk/icecast/src/auth_url.c
Log:
change the option names to be more reasonable


Modified: icecast/trunk/icecast/src/auth_url.c
===================================================================
--- icecast/trunk/icecast/src/auth_url.c	2005-08-11 22:56:51 UTC (rev 9730)
+++ icecast/trunk/icecast/src/auth_url.c	2005-08-11 23:11:50 UTC (rev 9731)
@@ -85,6 +85,7 @@
 
 static void auth_url_clear(auth_t *self)
 {
+    INFO0 ("Doing auth URL cleanup");
     auth_url *url = self->state;
     curl_easy_cleanup (url->handle);
     free (url->username);
@@ -382,13 +383,13 @@
             url_info->username = strdup (options->value);
         if(!strcmp(options->name, "password"))
             url_info->password = strdup (options->value);
-        if(!strcmp(options->name, "add"))
+        if(!strcmp(options->name, "listener_add"))
             url_info->addurl = strdup (options->value);
-        if(!strcmp(options->name, "remove"))
+        if(!strcmp(options->name, "listener_remove"))
             url_info->removeurl = strdup (options->value);
-        if(!strcmp(options->name, "start"))
+        if(!strcmp(options->name, "mount_add"))
             url_info->stream_start = strdup (options->value);
-        if(!strcmp(options->name, "end"))
+        if(!strcmp(options->name, "mount_remove"))
             url_info->stream_end = strdup (options->value);
         if(!strcmp(options->name, "auth_header"))
         {



More information about the commits mailing list