diff options
author | Chris Toshok <toshok@ximian.com> | 2002-08-29 17:03:04 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-08-29 17:03:04 +0800 |
commit | 7f3d3493a3bfb3cec85609d6951565fead6796bc (patch) | |
tree | 5ffd539ec54fed3709840db2b86dff19862258f0 /addressbook/backend | |
parent | 9d673d87ab50a27f988d3916db0791a6db27402d (diff) | |
download | gsoc2013-evolution-7f3d3493a3bfb3cec85609d6951565fead6796bc.tar.gz gsoc2013-evolution-7f3d3493a3bfb3cec85609d6951565fead6796bc.tar.zst gsoc2013-evolution-7f3d3493a3bfb3cec85609d6951565fead6796bc.zip |
use strcasecmp here, since all the other helpers use case insensitive
2002-08-29 Chris Toshok <toshok@ximian.com>
* 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
Diffstat (limited to 'addressbook/backend')
-rw-r--r-- | addressbook/backend/pas/pas-backend-card-sexp.c | 2 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-summary.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; |