Minor tidying up

This commit is contained in:
Arnavion
2014-12-08 21:24:59 -08:00
parent 65da34f19e
commit c1831cb19d
9 changed files with 21 additions and 35 deletions

View File

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