From d04fb0f282e0fd9a4bc80d3f9d5ee15506a3b83b Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Mon, 08 Dec 2008 08:03:33 +0000
Subject: [PATCH] Merge the replication-service branch with the OpenDS trunk
---
opends/src/server/org/opends/server/replication/plugin/ReplLDIFOutputStream.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/plugin/ReplLDIFOutputStream.java b/opends/src/server/org/opends/server/replication/plugin/ReplLDIFOutputStream.java
index a5f6700..402e014 100644
--- a/opends/src/server/org/opends/server/replication/plugin/ReplLDIFOutputStream.java
+++ b/opends/src/server/org/opends/server/replication/plugin/ReplLDIFOutputStream.java
@@ -30,6 +30,7 @@
import java.io.IOException;
import java.io.OutputStream;
+import org.opends.server.replication.service.ReplicationDomain;
import org.opends.server.util.ServerConstants;
/**
@@ -103,8 +104,7 @@
// of entries to export.
throw(new IOException());
}
- if (numEntries<0)
- domain.exportLDIFEntry(entryBuffer);
+
numExportedEntries++;
entryBuffer = "";
--
Gitblit v1.10.0