directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1664796 - /directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestDecorator.java
Date Sat, 07 Mar 2015 05:52:03 GMT
Author: elecharny
Date: Sat Mar  7 05:52:03 2015
New Revision: 1664796

URL: http://svn.apache.org/r1664796
Log:
Fixed another error in the VLV encoder computeLength() method

Modified:
    directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestDecorator.java

Modified: directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestDecorator.java?rev=1664796&r1=1664795&r2=1664796&view=diff
==============================================================================
--- directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/extras/codec/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv_impl/VirtualListViewRequestDecorator.java
Sat Mar  7 05:52:03 2015
@@ -94,7 +94,7 @@ public class VirtualListViewRequestDecor
 
         if ( getContextId() != null )
         {
-            vlvSeqLength = 1 + TLV.getNbBytes( getContextId().length ) + getContextId().length;
+            vlvSeqLength += 1 + TLV.getNbBytes( getContextId().length ) + getContextId().length;
         }
 
         valueLength = 1 + TLV.getNbBytes( vlvSeqLength ) + vlvSeqLength;



Mime
View raw message