directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r492236 - /directory/branches/shared/0.9.5/asn1/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java
Date Wed, 03 Jan 2007 17:58:31 GMT
Author: elecharny
Date: Wed Jan  3 09:58:29 2007
New Revision: 492236

URL: http://svn.apache.org/viewvc?view=rev&rev=492236
Log:
Fixed DIRSERVER_810

Modified:
    directory/branches/shared/0.9.5/asn1/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java

Modified: directory/branches/shared/0.9.5/asn1/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java
URL: http://svn.apache.org/viewvc/directory/branches/shared/0.9.5/asn1/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java?view=diff&rev=492236&r1=492235&r2=492236
==============================================================================
--- directory/branches/shared/0.9.5/asn1/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java
(original)
+++ directory/branches/shared/0.9.5/asn1/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java
Wed Jan  3 09:58:29 2007
@@ -304,13 +304,13 @@
                     if ( tlv.getLengthBytesRead() < tlv.getLengthNbBytes() )
                     {
                         container.setState( TLVStateEnum.LENGTH_STATE_PENDING );
+                        return END;
                     }
                     else
                     {
                         container.setState( TLVStateEnum.LENGTH_STATE_END );
+                        return MORE;
                     }
-                    
-                    return END;
                 }
             }
 



Mime
View raw message