mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

pgamba
18.23.2007 427d52308ded9fd7da22c49e1b87ec66a4f2be17
opends/src/server/org/opends/server/replication/plugin/ReplLDIFOutputStream.java
@@ -44,7 +44,7 @@
  // The current number of entries exported
  long numExportedEntries;
  static String newline = System.getProperty("line.separator");
  String entryBuffer = "";
  /**
@@ -81,7 +81,8 @@
    {
      // if we have the bytes for an entry, let's make an entry and send it
      String ebytes = new String(b,startOfEntryIndex,bytesToRead);
      endOfEntryIndex = ebytes.indexOf("\n\n");
      endOfEntryIndex = ebytes.indexOf(newline + newline);
      if ( endOfEntryIndex >= 0 )
      {