From 3818fefc44240236945f74b932233a6e456e9438 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 6 Aug 2010 11:32:44 +0200 Subject: [PATCH] geoclue-localnet: use g_ascii_strcasecmp to compare mac addresses (fdo #29419) --- providers/localnet/geoclue-localnet.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/providers/localnet/geoclue-localnet.c b/providers/localnet/geoclue-localnet.c index e75e066..b834b75 100644 --- a/providers/localnet/geoclue-localnet.c +++ b/providers/localnet/geoclue-localnet.c @@ -239,7 +239,7 @@ geoclue_localnet_find_gateway (GeoclueLocalnet *localnet, char *mac) while (l) { Gateway *gw = l->data; - if (strcmp (gw->mac, mac) == 0) { + if (g_ascii_strcasecmp (gw->mac, mac) == 0) { return gw; } -- 1.7.0.4