From 93b72e36e849d1572aeca2080cdfc4ad8ceb38df Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 30 Jun 2004 22:28:15 +0000 Subject: [PATCH] cleanup --- libraries/liblber/encode.c | 3 ++- libraries/liblber/sockbuf.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.39.5