From 93c7eea44833db296c55fd0dd04c03acfccc5fc6 Mon Sep 17 00:00:00 2001 From: Ross Golder Date: Thu, 23 Nov 2000 01:17:56 +0000 Subject: Fixed typo preventing compilation - NAME_ERROR should be LDAP_NAME_ERROR (I think!) svn path=/trunk/; revision=6653 --- addressbook/backend/pas/pas-backend-ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/backend') 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; -- cgit