From 495f8723b30c4bc66e7f609f440ae0b541909ca4 Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Tue, 16 Oct 2007 10:12:14 +0000
Subject: [PATCH] Fix a bug where replace mod is erroneously changed to del mod

---
 opends/src/server/org/opends/server/replication/plugin/AttrInfoSingle.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/plugin/AttrInfoSingle.java b/opends/src/server/org/opends/server/replication/plugin/AttrInfoSingle.java
index c6aad7e..944bad6 100644
--- a/opends/src/server/org/opends/server/replication/plugin/AttrInfoSingle.java
+++ b/opends/src/server/org/opends/server/replication/plugin/AttrInfoSingle.java
@@ -107,7 +107,7 @@
       break;
 
     case REPLACE:
-      if (value == null)
+      if (newValue == null)
       {
         // REPLACE with null value is actually a DELETE
         deleteTime = changeNumber;

--
Gitblit v1.10.0