One more deprecated LDAP API call

git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@326 06cd67b6-e706-0410-b29e-9de616bca6e9
This commit is contained in:
Ben Klang
2006-06-12 21:48:34 +00:00
parent 297073eb3d
commit 6c91b5cda5

View File

@@ -1196,7 +1196,7 @@ int main(int argc, char** argv)
if (options.exec_command[0])
system(options.exec_command);
skip:
if ( (ldaperr = ldap_unbind_s(ldap_con))!=LDAP_SUCCESS )
if ( (ldaperr = ldap_unbind_ext_s(ldap_con, NULL, NULL))!=LDAP_SUCCESS )
die_ldap(ldaperr);
if (options.is_daemon==0)
break;