aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-09-14 09:46:05 +0800
committerChris Toshok <toshok@src.gnome.org>2001-09-14 09:46:05 +0800
commit1ec654cc565ad4495700d323c032d3f4bcde2bf2 (patch)
tree30cd6d29490930968f0911059caaf4b98d6b16aa /addressbook/backend
parent0676d2890e8def5d8876da6784df4e673b0703a1 (diff)
downloadgsoc2013-evolution-1ec654cc565ad4495700d323c032d3f4bcde2bf2.tar
gsoc2013-evolution-1ec654cc565ad4495700d323c032d3f4bcde2bf2.tar.gz
gsoc2013-evolution-1ec654cc565ad4495700d323c032d3f4bcde2bf2.tar.bz2
gsoc2013-evolution-1ec654cc565ad4495700d323c032d3f4bcde2bf2.tar.lz
gsoc2013-evolution-1ec654cc565ad4495700d323c032d3f4bcde2bf2.tar.xz
gsoc2013-evolution-1ec654cc565ad4495700d323c032d3f4bcde2bf2.tar.zst
gsoc2013-evolution-1ec654cc565ad4495700d323c032d3f4bcde2bf2.zip
use ldap_init. ldap_open is deprecated in openldap 2.x.
2001-09-13 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): use ldap_init. ldap_open is deprecated in openldap 2.x. svn path=/trunk/; revision=12820
Diffstat (limited to 'addressbook/backend')
-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 7e1634da64..5cc587f8bd 100644
--- a/addressbook/backend/pas/pas-backend-ldap.c
+++ b/addressbook/backend/pas/pas-backend-ldap.c
@@ -387,7 +387,7 @@ pas_backend_ldap_connect (PASBackendLDAP *bl)
if (blpriv->ldap)
ldap_unbind (blpriv->ldap);
- blpriv->ldap = ldap_open (blpriv->ldap_host, blpriv->ldap_port);
+ blpriv->ldap = ldap_init (blpriv->ldap_host, blpriv->ldap_port);
#ifdef DEBUG
{
int debug_level = ~0;