vpn-provider: Type string in provider needs to be in lower case
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Mon, 18 Feb 2013 15:23:39 +0000 (17:23 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 19 Feb 2013 10:23:21 +0000 (12:23 +0200)
vpn/vpn-provider.c

index f6753b9..c80027d 100644 (file)
@@ -1929,7 +1929,7 @@ int vpn_provider_set_string(struct vpn_provider *provider,
 
        if (g_str_equal(key, "Type") == TRUE) {
                g_free(provider->type);
-               provider->type = g_strdup(value);
+               provider->type = g_ascii_strdown(value, -1);
        } else if (g_str_equal(key, "Name") == TRUE) {
                g_free(provider->name);
                provider->name = g_strdup(value);