summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-01-22 23:10:06 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-01-22 23:10:06 +0200
commit40a0275298f0a7aa8222f37d26bd97db906d1e9b (patch)
treeb787e866d4b237e258155761b0e9dd99951594d5 /gst
parentd20fa132c117240ad386a5a3b472dc629407b445 (diff)
uri: Fix indention
Diffstat (limited to 'gst')
-rw-r--r--gst/gsturi.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gst/gsturi.c b/gst/gsturi.c
index 37726a3c9..6346ea0f5 100644
--- a/gst/gsturi.c
+++ b/gst/gsturi.c
@@ -1530,7 +1530,8 @@ gst_uri_from_string (const gchar * uri)
int i = 0;
/* be helpful and skip initial white space */
- while (*uri == '\v' || g_ascii_isspace (*uri)) uri++;
+ while (*uri == '\v' || g_ascii_isspace (*uri))
+ uri++;
if (g_ascii_isalpha (uri[i])) {
/* find end of scheme name */
@@ -1562,8 +1563,8 @@ gst_uri_from_string (const gchar * uri)
eoh = strchr (uri, ']');
if (eoh == NULL || eoh > eoa) {
GST_DEBUG ("Unable to parse the host part of the URI '%s'.",
- orig_uri);
- _gst_uri_free (uri_obj);
+ orig_uri);
+ _gst_uri_free (uri_obj);
return NULL;
}
reoh = eoh + 1;
@@ -1582,7 +1583,7 @@ gst_uri_from_string (const gchar * uri)
/* if port number is malformed then we can't parse this */
if (uri[0] != ':' || strspn (uri + 1, "0123456789") != eoa - uri - 1) {
GST_DEBUG ("Unable to parse host/port part of the URI '%s'.",
- orig_uri);
+ orig_uri);
_gst_uri_free (uri_obj);
return NULL;
}