From 453fef95a1527997e6e360d134ed7087a4773876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 29 Sep 2007 05:26:54 +0000 Subject: 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. --- ext/neon/gstneonhttpsrc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ext/neon') 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); -- cgit v1.2.1