summary refs log tree commit diff stats
path: root/src/common/url.c
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2014-12-08 21:24:59 -0800
committerArnavion <arnavion@gmail.com>2014-12-08 21:24:59 -0800
commitc1831cb19dc1a95bfe96c808aaf5ee42f7401995 (patch)
tree51186833204b4061ead7794b17e8f43d32e03596 /src/common/url.c
parent65da34f19eab5edde0615ccc4a58be1947cfce6e (diff)
Minor tidying up
Diffstat (limited to 'src/common/url.c')
-rw-r--r--src/common/url.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/common/url.c b/src/common/url.c
index 5fbeb6c8..732449a4 100644
--- a/src/common/url.c
+++ b/src/common/url.c
@@ -587,18 +587,14 @@ re_url (void)
 		
 		if (uri[i].flags & URI_PATH)
 		{
-			char *sep_escaped;
-			
-			sep_escaped = g_regex_escape_string (uri[i].path_sep, 
-							     strlen(uri[i].path_sep));
+			char *sep_escaped = g_regex_escape_string (uri[i].path_sep, strlen(uri[i].path_sep));
 
-			g_string_append_printf(grist_gstr, "(" "%s" PATH ")?",
-					       sep_escaped);
+			g_string_append_printf (grist_gstr, "(" "%s" PATH ")?", sep_escaped);
 
-			g_free(sep_escaped);
+			g_free (sep_escaped);
 		}
 
-		g_string_append(grist_gstr, ")");
+		g_string_append (grist_gstr, ")");
 	}
 
 	grist = g_string_free (grist_gstr, FALSE);