summaryrefslogtreecommitdiffstats
path: root/ext/neon
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2007-09-29 05:26:54 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2007-09-29 05:26:54 +0000
commit453fef95a1527997e6e360d134ed7087a4773876 (patch)
treef03ee917f06e714015ca637058a6de70a91a3f4e /ext/neon
parent3668cfd91e87b70b41c3bad832d8486f55b9cd77 (diff)
downloadgst-plugins-bad-453fef95a1527997e6e360d134ed7087a4773876.tar.gz
gst-plugins-bad-453fef95a1527997e6e360d134ed7087a4773876.tar.bz2
gst-plugins-bad-453fef95a1527997e6e360d134ed7087a4773876.zip
configure.ac: Update gio's pkg-config file name as currently in SVN.
Original commit message from CVS: * configure.ac: Update gio's pkg-config file name as currently in SVN. * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_set_location): Remove special casing for a NULL query string. g_strjoin won't add the separator if there's only one string.
Diffstat (limited to 'ext/neon')
-rw-r--r--ext/neon/gstneonhttpsrc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c
index 0172a4a9..1d3a22f0 100644
--- a/ext/neon/gstneonhttpsrc.c
+++ b/ext/neon/gstneonhttpsrc.c
@@ -729,10 +729,7 @@ gst_neonhttp_src_set_location (GstNeonhttpSrc * src, const gchar * uri)
if (!src->uri.path)
src->uri.path = g_strdup ("");
- if (src->uri.query)
- src->query_string = g_strjoin ("?", src->uri.path, src->uri.query, NULL);
- else
- src->query_string = g_strdup (src->uri.path);
+ src->query_string = g_strjoin ("?", src->uri.path, src->uri.query, NULL);
src->location = ne_uri_unparse (&src->uri);