From c0144353899d1191c10de1d50e60036e508d5189 Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Tue, 10 Oct 2006 22:42:30 +0000
Subject: [PATCH] Fixes for the following issues, reviewed by neil_a_wilson. issue 776: Overflow of large values for time limit. issue 781: search result entries have their object class in the wrong field.
---
opends/src/server/org/opends/server/tools/LDIFSearch.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/LDIFSearch.java b/opends/src/server/org/opends/server/tools/LDIFSearch.java
index cfd63b3..77e0c54 100644
--- a/opends/src/server/org/opends/server/tools/LDIFSearch.java
+++ b/opends/src/server/org/opends/server/tools/LDIFSearch.java
@@ -531,7 +531,7 @@
{
if (timeLimit.isPresent())
{
- timeLimitMillis = 1000 * timeLimit.getIntValue();
+ timeLimitMillis = 1000L * timeLimit.getIntValue();
}
else
{
@@ -569,7 +569,7 @@
}
- // Create the LDIF import configuration that will be used to rad the source
+ // Create the LDIF import configuration that will be used to read the source
// data.
LDIFImportConfig importConfig;
if (ldifFile.isPresent())
--
Gitblit v1.10.0