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 | |
parent | 9d673d87ab50a27f988d3916db0791a6db27402d (diff) | |
download | gsoc2013-evolution-7f3d3493a3bfb3cec85609d6951565fead6796bc.tar gsoc2013-evolution-7f3d3493a3bfb3cec85609d6951565fead6796bc.tar.gz gsoc2013-evolution-7f3d3493a3bfb3cec85609d6951565fead6796bc.tar.bz2 gsoc2013-evolution-7f3d3493a3bfb3cec85609d6951565fead6796bc.tar.lz gsoc2013-evolution-7f3d3493a3bfb3cec85609d6951565fead6796bc.tar.xz 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')
-rw-r--r-- | addressbook/ChangeLog | 8 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-card-sexp.c | 2 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-summary.c | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 146544dd28..998093b84a 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,13 @@ 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. + +2002-08-29 Chris Toshok <toshok@ximian.com> + * backend/pas/pas-backend-ldap.c (category_ber): return NULL if the list is empty. (pas_backend_ldap_connect): always try to use ldapv3, not just 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; |