1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-30 20:23:49 +03:00

r17112: - fix the build of the ldap ldb backend with newer openldap header files.

- use the correct timeout variable (simo you should do a standalone build before commiting:-)

metze
This commit is contained in:
Stefan Metzmacher
2006-07-18 12:11:02 +00:00
committed by Gerald (Jerry) Carter
parent 2977e7097a
commit ac9d69d257

View File

@@ -42,6 +42,7 @@
#include "includes.h"
#include "ldb/include/includes.h"
#define LDAP_DEPRECATED 1
#include <ldap.h>
struct lldb_private {
@@ -664,7 +665,7 @@ static int lldb_async_wait(struct ldb_async_handle *handle, enum ldb_async_wait_
case LDB_WAIT_NONE:
if ((ac->timeout != -1) &&
((ac->starttime + timeout) > time(NULL))) {
((ac->starttime + ac->timeout) > time(NULL))) {
return LDB_ERR_TIME_LIMIT_EXCEEDED;
}