ext/neon/gstneonhttpsrc.c: Alloc user agent string only once.
authorTim-Philipp Müller <tim@centricular.net>
Thu, 22 Mar 2007 21:07:02 +0000 (21:07 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 22 Mar 2007 21:07:02 +0000 (21:07 +0000)
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_init):
Alloc user agent string only once.

ChangeLog
ext/neon/gstneonhttpsrc.c

index 945338e..cdb9f19 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-22  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_init):
+         Alloc user agent string only once.
+
 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
 
        * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init):
index 0ad4652..eba4ac0 100644 (file)
@@ -246,8 +246,6 @@ gst_neonhttp_src_init (GstNeonhttpSrc * src, GstNeonhttpSrcClass * g_class)
         "The proxy set on http_proxy env var ('%s') cannot be parsed.", str);
   }
 
-  src->user_agent = g_strdup ("neonhttpsrc");
-
   src->iradio_mode = FALSE;
   src->iradio_name = NULL;
   src->iradio_genre = NULL;