This email list is read-only. Emails sent to this list will be discarded ---------------------------------- plugins/wifi.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit e9fdbe094a5edda6f85d2b532ccc51c260234da6 Author: Marcel Holtmann <[email protected]> Date: Mon Dec 15 16:53:24 2008 +0100 Allow numbers in path for network objects Diff in this email is a maximum of 400 lines. diff --git a/plugins/wifi.c b/plugins/wifi.c index 9cddb61..be2358c 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -316,9 +316,9 @@ static void scan_result(struct connman_element *device, temp = g_strdup(network->identifier); for (i = 0; i < strlen(temp); i++) { - gchar tmp = g_ascii_tolower(temp[i]); - - if (tmp < 'a' || tmp > 'z') + char tmp = temp[i]; + if ((tmp < '0' || tmp > '9') && (tmp < 'A' || tmp > 'Z') && + (tmp < 'a' || tmp > 'z')) temp[i] = '_'; } _______________________________________________ Commits mailing list [email protected] https://lists.moblin.org/mailman/listinfo/commits
