mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-15 10:10:19 +00:00
Minor tidying up
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user