aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/backend/pas/pas-backend-card-sexp.c2
-rw-r--r--addressbook/backend/pas/pas-backend-summary.c2
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;