aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas
diff options
context:
space:
mode:
authorRoss Golder <rossg@src.gnome.org>2000-11-23 09:17:56 +0800
committerRoss Golder <rossg@src.gnome.org>2000-11-23 09:17:56 +0800
commit93c7eea44833db296c55fd0dd04c03acfccc5fc6 (patch)
tree400bb6cf40df437dcbfb993fcb66baaf94ef48d5 /addressbook/backend/pas
parentf7069251d4161f1a6662185ba34b8cb05477b3af (diff)
downloadgsoc2013-evolution-93c7eea44833db296c55fd0dd04c03acfccc5fc6.tar
gsoc2013-evolution-93c7eea44833db296c55fd0dd04c03acfccc5fc6.tar.gz
gsoc2013-evolution-93c7eea44833db296c55fd0dd04c03acfccc5fc6.tar.bz2
gsoc2013-evolution-93c7eea44833db296c55fd0dd04c03acfccc5fc6.tar.lz
gsoc2013-evolution-93c7eea44833db296c55fd0dd04c03acfccc5fc6.tar.xz
gsoc2013-evolution-93c7eea44833db296c55fd0dd04c03acfccc5fc6.tar.zst
gsoc2013-evolution-93c7eea44833db296c55fd0dd04c03acfccc5fc6.zip
Fixed typo preventing compilation - NAME_ERROR should be LDAP_NAME_ERROR (I think!)
svn path=/trunk/; revision=6653
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c
index 22e37b3841..825f03ccc3 100644
--- a/addressbook/backend/pas/pas-backend-ldap.c
+++ b/addressbook/backend/pas/pas-backend-ldap.c
@@ -330,7 +330,7 @@ ldap_error_to_response (int ldap_error)
{
if (ldap_error == LDAP_SUCCESS)
return GNOME_Evolution_Addressbook_BookListener_Success;
- else if (NAME_ERROR (ldap_error))
+ else if (LDAP_NAME_ERROR (ldap_error))
return GNOME_Evolution_Addressbook_BookListener_CardNotFound;
else if (ldap_error == LDAP_INSUFFICIENT_ACCESS)
return GNOME_Evolution_Addressbook_BookListener_PermissionDenied;