]> git.sur5r.net Git - openldap/commitdiff
Fix ITS#2246, fix in rev 1.73 was in the wrong place
authorHoward Chu <hyc@openldap.org>
Fri, 20 Dec 2002 00:33:10 +0000 (00:33 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 20 Dec 2002 00:33:10 +0000 (00:33 +0000)
libraries/liblber/io.c

index a63d237f2231895f59c0863c9628cb7bd7b04156..49e0abae0c2cd982778ea30874835ea3a1202fee 100644 (file)
@@ -536,9 +536,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 */