Return-Path: X-Original-To: apmail-directory-commits-archive@www.apache.org Delivered-To: apmail-directory-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2BFE517B8C for ; Sat, 7 Mar 2015 05:52:04 +0000 (UTC) Received: (qmail 24029 invoked by uid 500); 7 Mar 2015 05:52:04 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 23982 invoked by uid 500); 7 Mar 2015 05:52:04 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 23973 invoked by uid 99); 7 Mar 2015 05:52:04 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Mar 2015 05:52:04 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id BA056AC0237 for ; Sat, 7 Mar 2015 05:52:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150307055203.BA056AC0237@hades.apache.org> 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;