]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorKurt Zeilenga <kurt@openldap.org>
Wed, 30 Jun 2004 22:28:15 +0000 (22:28 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 30 Jun 2004 22:28:15 +0000 (22:28 +0000)
libraries/liblber/encode.c
libraries/liblber/sockbuf.c

index 12089b26ca93deefb908872401cbf5f0b1ea191d..7c2253f881548b2c0d7fb3e5143e22be99955079 100644 (file)
@@ -547,8 +547,9 @@ ber_put_seqorset( BerElement *ber )
 
        if ( (next = (*sos)->sos_next) == NULL ) {
                /* write the tag */
-               if ( (taglen = ber_put_tag( ber, (*sos)->sos_tag, 1 )) == -1 )
+               if ( (taglen = ber_put_tag( ber, (*sos)->sos_tag, 1 )) == -1 ) {
                        return( -1 );
+               }
 
                if ( ber->ber_options & LBER_USE_DER ) {
                        /* Write the length in the minimum # of octets */
index 786eb51930dbeb2cd888e7cef313f607eb3704c1..dff8a8314645b8bda2ac17105bd4573d001f35ee 100644 (file)
@@ -221,7 +221,7 @@ ber_sockbuf_remove_io( Sockbuf *sb, Sockbuf_IO *sbio, int layer )
                        }
                        *q = p->sbiod_next;
                        LBER_FREE( p );
-               break;
+                       break;
                }
                q = &p->sbiod_next;
        }