directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r153648 - incubator/directory/ldap/trunk/apache-provider/src/java/org/apache/ldap/common/berlib/asn1/decoder/bind/BindResponseRule.java
Date Sun, 13 Feb 2005 18:00:06 GMT
Author: akarasulu
Date: Sun Feb 13 10:00:05 2005
New Revision: 153648

URL: http://svn.apache.org/viewcvs?view=rev&rev=153648
Log:
changes ...

Applying Emmanuel Lecharny's changes from http://issues.apache.org/jira/browse/DIRLDAP-30.
 


Modified:
    incubator/directory/ldap/trunk/apache-provider/src/java/org/apache/ldap/common/berlib/asn1/decoder/bind/BindResponseRule.java

Modified: incubator/directory/ldap/trunk/apache-provider/src/java/org/apache/ldap/common/berlib/asn1/decoder/bind/BindResponseRule.java
URL: http://svn.apache.org/viewcvs/incubator/directory/ldap/trunk/apache-provider/src/java/org/apache/ldap/common/berlib/asn1/decoder/bind/BindResponseRule.java?view=diff&r1=153647&r2=153648
==============================================================================
--- incubator/directory/ldap/trunk/apache-provider/src/java/org/apache/ldap/common/berlib/asn1/decoder/bind/BindResponseRule.java
(original)
+++ incubator/directory/ldap/trunk/apache-provider/src/java/org/apache/ldap/common/berlib/asn1/decoder/bind/BindResponseRule.java
Sun Feb 13 10:00:05 2005
@@ -55,7 +55,7 @@
     {
         super.finish() ;
 
-        if ( getDigester().peek() instanceof ByteBuffer )
+        if ( ( getDigester().getCount() != 0 ) && ( getDigester().peek() instanceof
ByteBuffer ) )
         {
             ByteBuffer buf = ( ByteBuffer ) getDigester().pop() ;
             BindResponse resp = ( BindResponse ) getDigester().pop() ;



Mime
View raw message