summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-19 09:58:58 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-19 09:58:58 +0200
commit0ca1ff6b66537e9c739ca29f88db39f8bdaf6aa7 (patch)
tree1074ba74f78c2a1666c4561929aab78e0106f851
parentb9e11915a976daaf790ebc763aff56e19fd49e0f (diff)
m_ldap Remove unused LDAPService::last_timeout_check
-rw-r--r--src/modules/extra/m_ldap.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/extra/m_ldap.cpp b/src/modules/extra/m_ldap.cpp
index c11025836..bf3809a24 100644
--- a/src/modules/extra/m_ldap.cpp
+++ b/src/modules/extra/m_ldap.cpp
@@ -170,7 +170,6 @@ class LDAPService : public LDAPProvider, public SocketThread
time_t last_connect;
int searchscope;
time_t timeout;
- time_t last_timeout_check;
public:
static LDAPMod** BuildMods(const LDAPMods& attributes)
@@ -247,7 +246,7 @@ class LDAPService : public LDAPProvider, public SocketThread
LDAPService(Module* c, ConfigTag* tag)
: LDAPProvider(c, "LDAP/" + tag->getString("id"))
- , con(NULL), config(tag), last_connect(0), last_timeout_check(0)
+ , con(NULL), config(tag), last_connect(0)
{
std::string scope = config->getString("searchscope");
if (scope == "base")