From 44204125ab7e2422f88b17614a00271dc4ab08f7 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 13 Feb 2013 08:37:02 +0000
Subject: [PATCH] Minor fix.

---
 opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/HeartBeatConnectionFactory.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/HeartBeatConnectionFactory.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/HeartBeatConnectionFactory.java
index 47bdc4d..3e57b0b 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/HeartBeatConnectionFactory.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/HeartBeatConnectionFactory.java
@@ -642,7 +642,7 @@
             // response will update the timestamp as if it were a heart beat.
             if (sync.tryLockExclusively()) {
                 try {
-                    searchAsync(heartBeatRequest, null, this);
+                    connection.searchAsync(heartBeatRequest, null, this);
                 } catch (final Exception e) {
                     // This may happen when we attempt to send the heart beat just
                     // after the connection is closed but before we are notified.

--
Gitblit v1.10.0