]> git.sur5r.net Git - openldap/commitdiff
Updated ITS#2246 fix
authorKurt Zeilenga <kurt@openldap.org>
Fri, 20 Dec 2002 20:21:32 +0000 (20:21 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 20 Dec 2002 20:21:32 +0000 (20:21 +0000)
libraries/liblber/io.c

index 74abb24fd4d22b1516e1b5dc0b5dfd41af1a75e2..025e3b82d83b9da264648913bf28e75e2eb00cbd 100644 (file)
@@ -511,9 +511,9 @@ ber_get_next(
                        }
                        ber->ber_tag = tag;
                        ber->ber_ptr = (char *)p;
-               }
 
-               if (i == 1) continue;
+                       if (i == 1) continue;
+               }
 
                /* Now look for the length */
                if (*ber->ber_ptr & 0x80) {     /* multi-byte */