ext/neon/gstneonhttpsrc.c: Alloc user agent string only once.

Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_init):
Alloc user agent string only once.
This commit is contained in:
Tim-Philipp Müller 2007-03-22 21:07:02 +00:00
parent dd18cbc2a3
commit 0ca5b15aee
2 changed files with 5 additions and 2 deletions

View file

@ -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):

View 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;