From 7f3d3493a3bfb3cec85609d6951565fead6796bc Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Thu, 29 Aug 2002 09:03:04 +0000 Subject: use strcasecmp here, since all the other helpers use case insensitive 2002-08-29 Chris Toshok * backend/pas/pas-backend-card-sexp.c (is_helper): use strcasecmp here, since all the other helpers use case insensitive comparisons. * backend/pas/pas-backend-summary.c (is_helper): same. svn path=/trunk/; revision=17917 --- addressbook/backend/pas/pas-backend-card-sexp.c | 2 +- addressbook/backend/pas/pas-backend-summary.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'addressbook/backend') diff --git a/addressbook/backend/pas/pas-backend-card-sexp.c b/addressbook/backend/pas/pas-backend-card-sexp.c index ea217fa052..f747189bba 100644 --- a/addressbook/backend/pas/pas-backend-card-sexp.c +++ b/addressbook/backend/pas/pas-backend-card-sexp.c @@ -279,7 +279,7 @@ func_contains(struct _ESExp *f, int argc, struct _ESExpResult **argv, void *data static char * is_helper (const char *s1, const char *s2) { - if (!strcmp(s1, s2)) + if (!strcasecmp(s1, s2)) return (char*)s1; else return NULL; diff --git a/addressbook/backend/pas/pas-backend-summary.c b/addressbook/backend/pas/pas-backend-summary.c index 25337a4e75..541822d360 100644 --- a/addressbook/backend/pas/pas-backend-summary.c +++ b/addressbook/backend/pas/pas-backend-summary.c @@ -912,7 +912,7 @@ func_contains(struct _ESExp *f, int argc, struct _ESExpResult **argv, void *data static char * is_helper (const char *s1, const char *s2) { - if (!strcmp(s1, s2)) + if (!strcasecmp(s1, s2)) return (char*)s1; else return NULL; -- cgit