diff options
Diffstat (limited to 'e-util/e-url.c')
-rw-r--r-- | e-util/e-url.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/e-util/e-url.c b/e-util/e-url.c index 6c24b20b8d..b96ee9cf9b 100644 --- a/e-util/e-url.c +++ b/e-util/e-url.c @@ -133,8 +133,7 @@ e_uri_new (const char *uri_string) p++; if (p > uri_string && *p == ':') { - uri->protocol = g_strndup (uri_string, p - uri_string); - g_strdown (uri->protocol); + uri->protocol = g_ascii_strdown (uri_string, p - uri_string); uri_string = p + 1; } else |