aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-23 11:36:41 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-23 11:36:41 +0800
commit94ec3365b69db880fe6ef905956b805c097b667b (patch)
tree249c47b8da5d88ea10569d1747dbb19cc604bee4 /addressbook/backend
parentf2dc09609b2ec8d8e749b7768b9f7599e21288ec (diff)
downloadgsoc2013-evolution-94ec3365b69db880fe6ef905956b805c097b667b.tar
gsoc2013-evolution-94ec3365b69db880fe6ef905956b805c097b667b.tar.gz
gsoc2013-evolution-94ec3365b69db880fe6ef905956b805c097b667b.tar.bz2
gsoc2013-evolution-94ec3365b69db880fe6ef905956b805c097b667b.tar.lz
gsoc2013-evolution-94ec3365b69db880fe6ef905956b805c097b667b.tar.xz
gsoc2013-evolution-94ec3365b69db880fe6ef905956b805c097b667b.tar.zst
gsoc2013-evolution-94ec3365b69db880fe6ef905956b805c097b667b.zip
[ rolling forward fix for #34254 from 1.2 branch ] use g-ascii_strncasecmp
2002-11-22 Chris Toshok <toshok@ximian.com> [ rolling forward fix for #34254 from 1.2 branch ] * backend/ebook/evolution-vcard-importer.c (check_file_is_vcard): use g-ascii_strncasecmp instead of strncmp. (support_format_fn): use g_ascii_strcasecmp instead of strcmp. svn path=/trunk/; revision=18898
Diffstat (limited to 'addressbook/backend')
-rw-r--r--addressbook/backend/ebook/evolution-vcard-importer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/evolution-vcard-importer.c b/addressbook/backend/ebook/evolution-vcard-importer.c
index f221ae4a64..e18173ab87 100644
--- a/addressbook/backend/ebook/evolution-vcard-importer.c
+++ b/addressbook/backend/ebook/evolution-vcard-importer.c
@@ -172,7 +172,7 @@ support_format_fn (EvolutionImporter *importer,
return check_file_is_vcard (filename);
}
for (i = 0; supported_extensions[i] != NULL; i++) {
- if (g_ascii_strcmp (supported_extensions[i], ext) == 0)
+ if (g_ascii_strcasecmp (supported_extensions[i], ext) == 0)
return check_file_is_vcard (filename);
}