From: Kurt Zeilenga Date: Wed, 30 Jun 2004 22:28:15 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~138 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=93b72e36e849d1572aeca2080cdfc4ad8ceb38df;p=openldap cleanup --- diff --git a/libraries/liblber/encode.c b/libraries/liblber/encode.c index 12089b26ca..7c2253f881 100644 --- a/libraries/liblber/encode.c +++ b/libraries/liblber/encode.c @@ -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 */ diff --git a/libraries/liblber/sockbuf.c b/libraries/liblber/sockbuf.c index 786eb51930..dff8a83146 100644 --- a/libraries/liblber/sockbuf.c +++ b/libraries/liblber/sockbuf.c @@ -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; }